export

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTooManyResponses = errors.New("got multiple responses for address")
	ErrNoDeviceResponse = errors.New("no response from device")
)
View Source
var ErrBadTarget = errors.New("bad target")

Functions

This section is empty.

Types

type Handler

type Handler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *Handler

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Option

type Option func(*Handler)

func WithLocalAddr

func WithLocalAddr(laddr *net.UDPAddr) Option

Jump to

Keyboard shortcuts

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