dns

package
v0.0.0-...-eeb3e7f Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PreferedIP = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RR

type RR struct {
	Name  string
	Type  string
	RData string
}

func (*RR) Format

func (rr *RR) Format() string

type Server

type Server struct {
	io.Closer
	// contains filtered or unexported fields
}

func New

func New(records []RR) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Container

func (s *Server) Container() docker.Container

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

func (*Server) Stop

func (s *Server) Stop() error

Jump to

Keyboard shortcuts

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