Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SchemeHTTP name for the HTTP scheme SchemeHTTP = "http" // SchemeHTTPS name for the HTTPS scheme SchemeHTTPS = "https" )
Variables ¶
This section is empty.
Functions ¶
func GetHostWithoutPort ¶ added in v1.13.0
GetHostWithoutPort returns a host without the port. The host(:port) comes from a Host: header if it is provided, otherwise it is a server name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.