mdns

package
v0.20.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName = "_p2p._udp"
)

Variables

This section is empty.

Functions

func NewMdnsService

func NewMdnsService(host host.Host, serviceName string, notifee Notifee) *mdnsService

Types

type Notifee

type Notifee interface {
	HandlePeerFound(peer.AddrInfo)
}

type Service

type Service interface {
	Start() error
	io.Closer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL