Documentation
¶
Overview ¶
Package network provides pure IP, CIDR, URL, and hostname normalization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeHostname ¶
NormalizeHostname lowercases and converts a hostname to ASCII lookup form.
func NormalizeIP ¶
NormalizeIP parses an IP address and returns its canonical textual form.
func NormalizeURL ¶
NormalizeURL canonicalizes an absolute URL, including host and default ports.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.