mdns

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 9 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