# Functions
Limit is an option that provides an upper bound on the peer count for discovery Deprecated: use github.com/libp2p/go-libp2p/core/discovery.Limit instead.
TTL is an option that provides a hint for the duration of an advertisement Deprecated: use github.com/libp2p/go-libp2p/core/discovery.TTL instead.
# Type aliases
Advertiser is an interface for advertising services Deprecated: use github.com/libp2p/go-libp2p/core/discovery.Advertiser instead.
Discoverer is an interface for peer discovery Deprecated: use github.com/libp2p/go-libp2p/core/discovery.Discoverer instead.
Discovery is an interface that combines service advertisement and peer discovery Deprecated: use github.com/libp2p/go-libp2p/core/discovery.Discovery instead.
DiscoveryOpt is a single discovery option.
DiscoveryOpts is a set of discovery options.