beacon

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MPL-2.0 Imports: 9 Imported by: 2

Documentation

Overview

Package beacon implements an UDP broadcast beacon

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	suture.Service
	fmt.Stringer
	Send(data []byte)
	Recv() ([]byte, net.Addr)
	Error() error
}

func NewBroadcast

func NewBroadcast(port int) Interface

func NewMulticast

func NewMulticast(addr string) Interface

Jump to

Keyboard shortcuts

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