Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerGetter ¶
PeerGetter is the interface that must be implemented by a peer.
type PeerPicker ¶
type PeerPicker interface { // add return bool PickPeer(key string) (peer PeerGetter, ok bool) }
PeerPicker is the interface that must be implemented to locate the peer that owns a specific key.
Click to show internal directories.
Click to hide internal directories.