dns

package
v0.0.0-...-69f6661 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Records = map[string]Record{
	"test.service.": {Name: "test.service.", Ip: "192.168.123.1"},
}

Functions

func Server

func Server(config config.DnsConfig, ctx context.Context) error

Types

type Record

type Record struct {
	Name string `json:"name"`
	Ip   string `json:"ip"`
}

func (Record) IsEmpty

func (a Record) IsEmpty() bool

Jump to

Keyboard shortcuts

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