Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetterFunc ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (*Group) RegisterPeers ¶
func (g *Group) RegisterPeers(peers PeerPicker)
type HTTPPool ¶
type HTTPPool struct {
// contains filtered or unexported fields
}
func NewHTTPPool ¶
type PeerPicker ¶
type PeerPicker interface {
PickPeer(key string) (peer PeerGetter, ok bool)
}
Click to show internal directories.
Click to hide internal directories.