Documentation ¶
Index ¶
- type AddrList
- type DHT
- func (d *DHT) FindClosePeers(ll log.StandardLogger, onlyStaticRelays bool, static ...string) func(ctx context.Context, numPeers int) <-chan peer.AddrInfo
- func (d *DHT) Option(ctx context.Context) func(c *libp2p.Config) error
- func (d *DHT) Rendezvous() string
- func (d *DHT) Run(c log.StandardLogger, ctx context.Context, host host.Host) error
- type MDNS
- type Ring
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DHT ¶
type DHT struct { OTPKey string OTPInterval int KeyLength int RendezvousString string BootstrapPeers AddrList RefreshDiscoveryTime time.Duration *dht.IpfsDHT // contains filtered or unexported fields }
func (*DHT) FindClosePeers ¶ added in v0.16.1
func (*DHT) Rendezvous ¶
Click to show internal directories.
Click to hide internal directories.