Documentation ¶
Index ¶
Constants ¶
View Source
const ( XForwardedProto = "X-Forwarded-Proto" XForwardedHost = "X-Forwarded-Host" XForwardedURI = "X-Forwarded-Uri" )
Variables ¶
This section is empty.
Functions ¶
func GetRequestHost ¶
GetRequestHost returns the request host header or X-Forwarded-Host if present and the request is proxied.
func GetRequestProto ¶
GetRequestProto returns the request scheme or X-Forwarded-Proto if present and the request is proxied.
func GetRequestURI ¶
GetRequestURI return the request URI or X-Forwarded-Uri if present and the request is proxied.
func IsForwardedRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.