server

package
v0.0.0-...-21bbe10 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented = fmt.Errorf("not implemented")
	ErrIPLookupFailed = fmt.Errorf("failed to lookup IP")
	ErrNotFound       = fmt.Errorf("not found")
	ErrOutdated       = fmt.Errorf("outdated")
)

Functions

func NewDnsServer

func NewDnsServer(dnsPort string, cache keyDB, sets ...func(d *dnsServer)) *dnsServer

func WithLogger

func WithLogger(logger *zap.Logger) func(d *dnsServer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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