txtrecord

package
v6.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

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

func NormalizeTarget(r string) (string, error)

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.

Jump to

Keyboard shortcuts

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