package
0.0.0-20220628045418-2e6a22a86d64
Repository: https://github.com/ugwis/golang-net.git
Documentation: pkg.go.dev

# Functions

MustNewName creates a new Name from a string and panics on error.
NewBuilder creates a new builder with compression disabled.
NewName creates a new Name from a string.

# Constants

Question.Class.
No description provided by the author
No description provided by the author
No description provided by the author
ResourceHeader.Class and Question.Class.
FormErr.
NXDomain.
NotImp.
Refused.
ServFail.
NoError.
ResourceHeader.Type and Question.Type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
An Option represents a DNS message option within OPTResource.
An OPTResource is an OPT pseudo 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.
An UnknownResource is a catch-all container for unknown record types.

# 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.