Involved Source Files Package discovery provides service advertisement and peer discovery interfaces for libp2p.options.go
Package-Level Type Names (total 5)
/* sort by: | */
Advertiser is an interface for advertising services Advertise advertises a serviceDiscovery(interface)
*github.com/libp2p/go-libp2p/p2p/discovery/backoff.BackoffDiscovery
Discoverer is an interface for peer discovery FindPeers discovers peers providing a serviceDiscovery(interface)
*github.com/libp2p/go-libp2p/p2p/discovery/backoff.BackoffDiscovery
DiscoveryOpts is a set of discovery options.Limitint Other (implementation-specific) optionsTtltime.Duration Apply applies the given options to this DiscoveryOpts
Package-Level Functions (total 2)
Limit is an option that provides an upper bound on the peer count for discovery
TTL is an option that provides a hint for the duration of an advertisement
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.