Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDNS ¶
IsDNS returns true, if given string resembles a valid DNS name. "example.com" will yield true, but not "ex_mple.com" or "example"
func IsDNSLabel ¶
IsDNSLabel returns true when the given string resembles a valid DNS label e.g. "de", but not "-de"
func IsDNSOrHostname ¶
IsDNSOrHostname returns true, if given string is a valid DNS name or hostname.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.