discovery

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server advertises the Mumble server via mDNS/Bonjour for LAN discovery.

func NewServer

func NewServer(name string, port int) *Server

NewServer creates an mDNS advertiser. Call Start to begin advertising.

func (*Server) Shutdown

func (s *Server) Shutdown() error

Shutdown stops mDNS advertisement.

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Start begins mDNS advertisement. Blocks until ctx is cancelled.

Jump to

Keyboard shortcuts

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