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-dms3
Commits
be5d01b6
Commit
be5d01b6
authored
10 years ago
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more doc comments
parent
d98808fa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
exchange/offline/offline.go
exchange/offline/offline.go
+3
-1
exchange/offline/offline_test.go
exchange/offline/offline_test.go
+1
-1
net/swarm/swarm.go
net/swarm/swarm.go
+2
-0
routing/dht/handlers.go
routing/dht/handlers.go
+1
-0
No files found.
exchange/offline/offline.go
View file @
be5d01b6
package
bitswap
// package offline implements an object that implements the exchange
// interface but returns nil values to every request.
package
offline
import
(
"errors"
...
...
This diff is collapsed.
Click to expand it.
exchange/offline/offline_test.go
View file @
be5d01b6
package
bitswap
package
offline
import
(
"testing"
...
...
This diff is collapsed.
Click to expand it.
net/swarm/swarm.go
View file @
be5d01b6
// package swarm implements a connection muxer with a pair of channels
// to synchronize all network communication.
package
swarm
import
(
...
...
This diff is collapsed.
Click to expand it.
routing/dht/handlers.go
View file @
be5d01b6
...
...
@@ -12,6 +12,7 @@ import (
ds
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore"
)
// The number of closer peers to send on requests.
var
CloserPeerCount
=
4
// dhthandler specifies the signature of functions that handle DHT messages.
...
...
This diff is collapsed.
Click to expand it.
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