zone

package
v0.0.0-...-68faada Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Put(name, zone string) bool
	Get(zone string) (Zone, error)
}

type Zone

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

func NewZone

func NewZone(text, origin string) *Zone

func (*Zone) AddRR

func (zone *Zone) AddRR(input dns.RR)

func (*Zone) DeleteRR

func (zone *Zone) DeleteRR(input dns.RR)

func (*Zone) Origin

func (zone *Zone) Origin() string

func (*Zone) QueryRR

func (zone *Zone) QueryRR(question dns.Question) []dns.RR

func (*Zone) String

func (zone *Zone) String() string

Jump to

Keyboard shortcuts

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