Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
b0f71432
Commit
b0f71432
authored
Jan 10, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(core): distinguish repo.Repo components
parent
9d438843
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
core/core.go
core/core.go
+8
-6
No files found.
core/core.go
View file @
b0f71432
...
...
@@ -50,14 +50,16 @@ var log = eventlog.Logger("core")
type
IpfsNode
struct
{
// Self
Config
*
config
.
Config
// the node's configuration
Identity
peer
.
ID
// the local node's identity
onlineMode
bool
// alternatively, offline
Identity
peer
.
ID
// the local node's identity
onlineMode
bool
// alternatively, offline
// Local node
// TODO abstract as repo.Repo
Config
*
config
.
Config
// the node's configuration
Datastore
ds2
.
ThreadSafeDatastoreCloser
// the local datastore
Pinning
pin
.
Pinner
// the pinning manager
Mounts
Mounts
// current mount state, if any.
// Local node
Pinning
pin
.
Pinner
// the pinning manager
Mounts
Mounts
// current mount state, if any.
// Services
Peerstore
peer
.
Peerstore
// storage for other Peer instances
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment