mdns

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 12 Imported by: 139

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