dns

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

View Source
const (
	UDP = "udp"
	TCP = "tcp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DNS

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

func (*DNS) AddHandler

func (d *DNS) AddHandler(pattern string, handler dns.HandlerFunc)

func (*DNS) Shutdown

func (d *DNS) Shutdown()

func (*DNS) Start

func (d *DNS) Start(net string, port int, tsig *Tsig) error

type Tsig

type Tsig struct {
	Name   string
	Secret string
}

Jump to

Keyboard shortcuts

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