operator

package
v0.0.0-...-3957c15 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownEntry   = errors.New("mdns: unkown entry type recieved")
	ErrDuplicateEntry = errors.New("mdns: duplicate entry recieved")
)

Functions

func Connect

func Connect(entry *mdns.ServiceEntry) error

func Handler

func Handler() *httputil.ReverseProxy

func Listen

func Listen(ctx context.Context) <-chan *mdns.ServiceEntry

Types

type Router

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

func (*Router) Handler

func (r *Router) Handler() *httputil.ReverseProxy

Jump to

Keyboard shortcuts

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