rfc6761

package
v0.0.0-...-e9f60da Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package rfc6761 provides helpers for a subset of rfc6761 domain TLD. Specifically, helpers are offered to build and work with .test TLD names for testing purposes.

Index

Constants

View Source
const (
	// TestTLD is the rfc6761 designated TLD name reserved specifically
	// for testing usages.
	//
	// https://www.rfc-editor.org/rfc/rfc6761#section-6.2
	TestTLD = "test"
)

Variables

This section is empty.

Functions

func CanonicalTest

func CanonicalTest(dn string) string

CanonicalTest transforms the provided dn into a TestTLD rooted, fully qualified, canonicalized domain name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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