Versions in this module Expand all Collapse all v0 v0.7.11 May 13, 2020 Changes in this version + func BucketSize(bucketSize int) dht.Option + func DisableAutoRefresh() dht.Option + func DisableProviders() dht.Option + func DisableValues() dht.Option + func MaxRecordAge(maxAge time.Duration) dht.Option + func Mode(m dht.ModeOpt) dht.Option + func RoutingTableLatencyTolerance(latency time.Duration) dht.Option + func RoutingTableRefreshPeriod(period time.Duration) dht.Option + func RoutingTableRefreshQueryTimeout(timeout time.Duration) dht.Option v0.2.2 Sep 12, 2019 Changes in this version + const ProtocolDHTOld + var DefaultProtocols = []protocol.ID + var Defaults = func(o *Options) error + var ProtocolDHT protocol.ID = "/ipfs/kad/1.0.0" + type Option func(*Options) error + func Client(only bool) Option + func Datastore(ds ds.Batching) Option + func NamespacedValidator(ns string, v record.Validator) Option + func Protocols(protocols ...protocol.ID) Option + func Validator(v record.Validator) Option + type Options struct + Client bool + Datastore ds.Batching + Protocols []protocol.ID + Validator record.Validator + func (o *Options) Apply(opts ...Option) error