Documentation ¶
Index ¶
Constants ¶
View Source
const ( XForwardedFor = "X-Forwarded-For" CFConnectingIp = "Cf-Connecting-IP" CFRealIp = "Cf-Real-IP" )
Variables ¶
This section is empty.
Functions ¶
func GetRequestIPAddress ¶
func HttpCloudflareConnectingIP ¶
HttpCloudflareConnectingIP returns CF-Connecting-IP Header value if not empty
func HttpCloudflareRealIP ¶
HttpCloudflareRealIP returns CF-Real-IP Header value if not empty
func HttpRequestFootprint ¶
func HttpXForwardedFor ¶
HttpForwardedFor returns X-Forwarded-For Header value if not empty
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.