Documentation
¶
Overview ¶
Package validate provides hostname validation helpers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanHostnameDir ¶
CleanHostnameDir returns a hostname normalized to be uses as a directory name.
func NormalizeHost ¶
NormalizeHost applies a liberal policy on host names.
func ValidHostname ¶
ValidHostname determines whether the passed string is a valid hostname. In case it's not, the returned error contains the details of the failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.