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
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
func DisableProviders
deprecated
func DisableValues
deprecated
func MaxRecordAge
deprecated
func RoutingTableLatencyTolerance
deprecated
func RoutingTableRefreshPeriod
deprecated
func RoutingTableRefreshQueryTimeout
deprecated
Types ¶
Click to show internal directories.
Click to hide internal directories.