Documentation ¶
Index ¶
Constants ¶
View Source
const DNS952MaxLength int = 24
Variables ¶
This section is empty.
Functions ¶
func AsDNS952 ¶
mangle the given name to be compliant as a DNS952 name "component". the returned result should match the regexp:
^[a-z]([-a-z0-9]*[a-z0-9])?$
returns "" if the name cannot be mangled.
func AsDomainFrag ¶
mangles the given name in order to produce a valid domain fragment. a valid domain fragment will consist of one or more dns952 labels concatenated by a '.' char.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.