Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDHTable ¶
Types ¶
type Option ¶ added in v0.3.112
type Option func(*dhtConfig)
func AddPeerCallbacks ¶ added in v0.3.112
func AddPeerCallbacks(cbs ...func(warpnet.WarpAddrInfo)) Option
func BootstrapNodes ¶ added in v0.3.112
func BootstrapNodes(nodes ...warpnet.WarpAddrInfo) Option
func EnableRendezvous ¶ added in v0.3.112
func EnableRendezvous() Option
func RemovePeerCallbacks ¶ added in v0.3.112
func RemovePeerCallbacks(cbs ...func(warpnet.WarpAddrInfo)) Option
func RoutingStore ¶ added in v0.3.112
func RoutingStore(store RoutingStorer) Option
type RoutingStorer ¶
type RoutingStorer interface {
warpnet.WarpBatching
}
Click to show internal directories.
Click to hide internal directories.