discovery

package
v0.0.0-...-b217397 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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 Discoverer

type Discoverer interface {
	Discover(ctx context.Context, fqdn string) (*ip.Address, error)
}

type Mux

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

func NewMux

func NewMux() *Mux

func (*Mux) Add

func (m *Mux) Add(d Discoverer)

func (*Mux) Discover

func (m *Mux) Discover(ctx context.Context, fqdn string) (*ip.Address, error)

func (*Mux) With

func (m *Mux) With(d Discoverer) *Mux

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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