package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# Functions

NewName creates a new Name from a string.

# Constants

Question.Class.
Wire constants.
Wire constants.
Wire constants.
ResourceHeader.Class and Question.Class.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Message.Rcode.
ResourceHeader.Type and Question.Type.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Wire constants.
Question.Type.

# Variables

ErrNotStarted indicates that the prerequisite information isn't available yet because the previous records haven't been appropriately parsed, skipped or finished.
ErrSectionDone indicated that all records in the section have been parsed or finished.

# Structs

An AAAAResource is an AAAA Resource record.
An AResource is an A Resource record.
A Builder allows incrementally packing a DNS message.
A CNAMEResource is a CNAME Resource record.
Header is a representation of a DNS message header.
Message is a representation of a DNS message.
An MXResource is an MX Resource record.
A Name is a non-encoded domain name.
An NSResource is an NS Resource record.
A Parser allows incrementally parsing a DNS message.
A PTRResource is a PTR Resource record.
A Question is a DNS query.
A Resource is a DNS resource record.
A ResourceHeader is the header of a DNS resource record.
An SOAResource is an SOA Resource record.
An SRVResource is an SRV Resource record.
A TXTResource is a TXT Resource record.

# Interfaces

A ResourceBody is a DNS resource record minus the header.

# Type aliases

A Class is a type of network.
An OpCode is a DNS operation code.
An RCode is a DNS response status code.
A Type is a type of DNS request and response.