Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidToken = dht.Error{ Code: dht.ErrorCodeProtocolError, Msg: "invalid token", }
View Source
var ErrMethodUnknown = dht.Error{ Code: dht.ErrorCodeMethodUnknown, Msg: "method Unknown", }
View Source
var ErrMissingArguments = dht.Error{ Code: dht.ErrorCodeProtocolError, Msg: "missing arguments", }
View Source
var ErrTooManyRequests = dht.Error{ Code: dht.ErrorCodeGenericError, Msg: "too many requests", }
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { fx.In KTable ktable.Table DiscoveredNodes concurrency.BatchingChannel[ktable.Node] `name:"dht_discovered_nodes"` Logger *zap.SugaredLogger }
Click to show internal directories.
Click to hide internal directories.