Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureHTTPS ¶
EnsureHTTPS modifies the given URL, ensuring it is using the HTTPS protocol.
func NormalizeAddr ¶
NormalizeAddr ensures that the given URL has a HTTP protocol prefix. If none is supplied, it prefixes the URL with "http://".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.