Brian Tiger Chow
079bdbacdf
doc(peer) question
2014-11-16 07:00:28 -08:00
Juan Batiz-Benet
f7c1ed39e0
renamed datastore.go -> go-datastore
2014-10-21 15:10:58 -07:00
Juan Batiz-Benet
ac62d13e42
peerstore Put -> Add
...
Changed lots of peer use, and changed the peerstore to ensure
there is only ever one peer in use.
Fixed #174
2014-10-20 06:37:12 -07:00
Juan Batiz-Benet
9ca87fbb93
peer.Peer is now an interface
...

2014-10-20 03:26:46 -07:00
Juan Batiz-Benet
b1d11ccfcb
peerstore constructs peers
...
Now, all peers should be retrieved from the Peerstore, which will
construct the peers accordingly. This ensures there's only one peer
object per peer (opposite would be bad: things get out sync)
cc @whyrusleeping
2014-10-20 00:44:44 -07:00
Juan Batiz-Benet
612be59643
use string datastore keys.
2014-10-03 15:39:22 -07:00
Juan Batiz-Benet
a93a31f20b
peerstore: re-export ErrNotFound
...
This is to avoid having to import ds elsewhere.
2014-09-26 02:41:46 -07:00
Juan Batiz-Benet
9c6a3b2091
peerstore test
2014-09-22 04:05:19 -07:00
Juan Batiz-Benet
c08b895851
Peerstore - threadsafe peer collection
...
will have persistence later on as a datastore passed in.
2014-09-22 04:05:19 -07:00