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
9d438843
Commit
9d438843
authored
Jan 10, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(core): distinguish Online services
parent
ca8190a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
core/core.go
core/core.go
+13
-11
No files found.
core/core.go
View file @
9d438843
...
...
@@ -52,7 +52,6 @@ type IpfsNode struct {
// Self
Config
*
config
.
Config
// the node's configuration
Identity
peer
.
ID
// the local node's identity
PrivateKey
ic
.
PrivKey
// the local node's private Key
onlineMode
bool
// alternatively, offline
// Local node
...
...
@@ -61,16 +60,19 @@ type IpfsNode struct {
Mounts
Mounts
// current mount state, if any.
// Services
Peerstore
peer
.
Peerstore
// storage for other Peer instances
PeerHost
p2phost
.
Host
// the network host (server+client)
Routing
routing
.
IpfsRouting
// the routing system. recommend ipfs-dht
Exchange
exchange
.
Interface
// the block exchange + strategy (bitswap)
Blockstore
bstore
.
Blockstore
// the block store (lower level)
Blocks
*
bserv
.
BlockService
// the block service, get/add blocks.
DAG
merkledag
.
DAGService
// the merkle dag service, get/add objects.
Resolver
*
path
.
Resolver
// the path resolution system
Namesys
namesys
.
NameSystem
// the name system, resolves paths to hashes
Diagnostics
*
diag
.
Diagnostics
// the diagnostics service
Peerstore
peer
.
Peerstore
// storage for other Peer instances
Blockstore
bstore
.
Blockstore
// the block store (lower level)
Blocks
*
bserv
.
BlockService
// the block service, get/add blocks.
DAG
merkledag
.
DAGService
// the merkle dag service, get/add objects.
Resolver
*
path
.
Resolver
// the path resolution system
// Online
PrivateKey
ic
.
PrivKey
// the local node's private Key
PeerHost
p2phost
.
Host
// the network host (server+client)
Routing
routing
.
IpfsRouting
// the routing system. recommend ipfs-dht
Exchange
exchange
.
Interface
// the block exchange + strategy (bitswap)
Namesys
namesys
.
NameSystem
// the name system, resolves paths to hashes
Diagnostics
*
diag
.
Diagnostics
// the diagnostics service
ctxgroup
.
ContextGroup
...
...
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