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.2.2
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.3.0
func DisableProviders
deprecated
added in
v0.4.1
func DisableValues
deprecated
added in
v0.4.1
func MaxRecordAge
deprecated
added in
v0.3.1
func RoutingTableLatencyTolerance
deprecated
added in
v0.5.1
func RoutingTableRefreshPeriod
deprecated
added in
v0.3.0
func RoutingTableRefreshQueryTimeout
deprecated
added in
v0.3.0
Types ¶
Click to show internal directories.
Click to hide internal directories.