Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributedHashTable ¶
type DistributedHashTable struct {
// contains filtered or unexported fields
}
func NewDHTable ¶
func NewDHTable( ctx context.Context, nodeRepo RoutingStorer, removeF func(warpnet.WarpPeerID), addFuncs ...discovery.DiscoveryHandler, ) *DistributedHashTable
func (*DistributedHashTable) Close ¶
func (d *DistributedHashTable) Close()
func (*DistributedHashTable) StartRouting ¶
func (d *DistributedHashTable) StartRouting(n warpnet.P2PNode) (_ warpnet.WarpPeerRouting, err error)
type RoutingStorer ¶
type RoutingStorer interface {
warpnet.WarpBatching
}
Click to show internal directories.
Click to hide internal directories.