Documentation ¶
Index ¶
- func BucketSize(bucketSize int) dht.Optiondeprecated
- func Client(only bool) dht.Option
- func Datastore(ds ds.Batching) dht.Optiondeprecated
- func DisableAutoRefresh() dht.Optiondeprecated
- func DisableProviders() dht.Optiondeprecated
- func DisableValues() dht.Optiondeprecated
- func MaxRecordAge(maxAge time.Duration) dht.Optiondeprecated
- func Mode(m dht.ModeOpt) dht.Optiondeprecated
- func NamespacedValidator(ns string, v record.Validator) dht.Optiondeprecated
- func RoutingTableLatencyTolerance(latency time.Duration) dht.Optiondeprecated
- func RoutingTableRefreshPeriod(period time.Duration) dht.Optiondeprecated
- func RoutingTableRefreshQueryTimeout(timeout time.Duration) dht.Optiondeprecated
- func Validator(v record.Validator) dht.Optiondeprecated
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BucketSize
deprecated
added in
v0.7.11
func Client ¶
Client configures whether or not the DHT operates in client-only mode.
Defaults to false (which is ModeAuto). Deprecated: use dht.Mode(ModeClient)
func DisableAutoRefresh
deprecated
added in
v0.7.11
func DisableProviders
deprecated
added in
v0.7.11
func DisableValues
deprecated
added in
v0.7.11
func MaxRecordAge
deprecated
added in
v0.7.11
func RoutingTableLatencyTolerance
deprecated
added in
v0.7.11
func RoutingTableRefreshPeriod
deprecated
added in
v0.7.11
func RoutingTableRefreshQueryTimeout
deprecated
added in
v0.7.11
Types ¶
Click to show internal directories.
Click to hide internal directories.