@cryptotaxi247 / kubo / commits / be5d01b6a

more doc comments

Jeromy committed Nov 8, 2014 at 22:44 UTC be5d01b6a6f53ce139ac6aa1debabf8fc265822f
4 files changed +7 -2
exchange/offline/offline.go
+3 -1
@@ -1,4 +1,6 @@
1 -package bitswap
1 +// package offline implements an object that implements the exchange
2 +// interface but returns nil values to every request.
3 +package offline
4
5 import (
6 "errors"
exchange/offline/offline_test.go
+1 -1
@@ -1,4 +1,4 @@
1 -package bitswap
1 +package offline
2
3 import (
4 "testing"
net/swarm/swarm.go
+2
@@ -1,3 +1,5 @@
1 +// package swarm implements a connection muxer with a pair of channels
2 +// to synchronize all network communication.
3 package swarm
4
5 import (
routing/dht/handlers.go
+1
@@ -12,6 +12,7 @@ import (
12 ds "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore"
13 )
14
15 +// The number of closer peers to send on requests.
16 var CloserPeerCount = 4
17
18 // dhthandler specifies the signature of functions that handle DHT messages.