mdns

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 12 Imported by: 5

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