Documentation ¶
Overview ¶
Package txtrecord contains logic used handling and transforming DNS records of type TXT.
Index ¶
Constants ¶
View Source
const ( // EOF ... EOF int = 0 // EOL - End of line */ EOL int = 1 // WHITESPACE - Whitespace; only returned when wantWhitespace is set */ WHITESPACE int = 2 // IDENTIFIER - An identifier (unquoted string) */ IDENTIFIER int = 3 // QUOTEDSTRING - A quoted string */ QUOTEDSTRING int = 4 // COMMENT - A comment; only returned when wantComment is set */ COMMENT int = 5 )
Variables ¶
This section is empty.
Functions ¶
func NormalizeTarget ¶
NormalizeTarget tries to normalize txt record target. If it cannot be normalized in the provided format, it escapes it and retries.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.