Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRequestIP ¶
CheckRequestIP returns TRUE if the remote IP in an http.Request is from an Cloudflare IP range
func GetIpRanges ¶
func GetIpRangesV4 ¶
GetIpRangesV4 retrieves Cloudflare IPv4 ranges and returns the results
func GetIpRangesV6 ¶
GetIpRangesV6 retrieves Cloudflare IPv6 ranges and returns the results
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.