Documentation ¶
Index ¶
Constants ¶
View Source
const Sep = "."
Sep is the default domain fragment separator.
Variables ¶
This section is empty.
Functions ¶
func DomainFrag ¶ added in v0.2.0
DomainFrag mangles the given name in order to produce a valid domain fragment. A valid domain fragment will consist of one or more host name labels concatenated by the given separator.
func RFC1123 ¶ added in v0.2.0
RFC1123 mangles a name to conform to the DNS label rules specified in RFC1123. See http://www.rfc-base.org/txt/rfc-1123.txt
func RFC952 ¶ added in v0.2.0
RFC952 mangles a name to conform to the DNS label rules specified in RFC952. See http://www.rfc-base.org/txt/rfc-952.txt
Types ¶
Click to show internal directories.
Click to hide internal directories.