mdns

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName = "_fxblox._tcp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Identity   string `yaml:"identity"`
	PoolName   string `yaml:"poolName"`
	Authorizer string `yaml:"authorizer"`
}

type MDNSServer

type MDNSServer struct {
	// contains filtered or unexported fields
}

func NewZeroConfService

func NewZeroConfService(port int) (*MDNSServer, error)

func StartServer

func StartServer(ctx context.Context, port int) *MDNSServer

Add this function

func (*MDNSServer) Shutdown

func (s *MDNSServer) Shutdown()

Jump to

Keyboard shortcuts

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