Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeRequest ¶
NormalizeRequest lowercases a request host, strips an explicit port, and trims a trailing dot.
func PatternHasPort ¶
PatternHasPort reports whether a host pattern contains a port separator. Colons inside braces, such as "{name:regex}", are treated as part of the pattern, and colons inside brackets, such as an IPv6 literal "[::1]", are treated as part of the address — neither counts as a port separator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.