Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPEnsurePort ¶
HTTPEnsurePort ensures that url has a port number suits with the connection type.
func MightHTTPS ¶
MightHTTPS ensures that a URL contains an HTTPS scheme when the current scheme is not HTTP. When the URL contains an HTTP scheme it is not modified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.