Versions in this module Expand all Collapse all v0 v0.29.0 Jul 29, 2023 Changes in this version + type Advertiser interface + Advertise func(ctx context.Context, ns string, opts ...Option) (time.Duration, error) + type Discoverer interface + FindPeers func(ctx context.Context, ns string, opts ...Option) (<-chan peer.AddrInfo, error) + type Discovery interface + type Option func(opts *Options) error + func Limit(limit int) Option + func TTL(ttl time.Duration) Option + type Options struct + Limit int + Other map[interface{}]interface{} + Ttl time.Duration + func (opts *Options) Apply(options ...Option) error