Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Labels ¶
type Labels struct { // Labels contains the parsed labels. A change here invalidates the // `original` object. Labels []string // contains filtered or unexported fields }
Labels represents RFC1035 labels
This implements RFC 1035 labels, including compression. https://tools.ietf.org/html/rfc1035#section-4.1.4
func FromBytes ¶
FromBytes returns a Labels object from the given byte sequence, or an error if any.
Click to show internal directories.
Click to hide internal directories.