Documentation ¶ Index ¶ Constants type Notifee type Service func NewMdnsService(ctx context.Context, peerhost host.Host, interval time.Duration, ...) (Service, error) Constants ¶ View Source const ServiceTag = "_ipfs-discovery._udp" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Notifee ¶ type Notifee interface { HandlePeerFound(pstore.PeerInfo) } type Service ¶ type Service interface { io.Closer RegisterNotifee(Notifee) UnregisterNotifee(Notifee) } func NewMdnsService ¶ func NewMdnsService(ctx context.Context, peerhost host.Host, interval time.Duration, serviceTag string) (Service, error) Source Files ¶ View all Source files mdns.go Click to show internal directories. Click to hide internal directories.