Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromRequest ¶
func FromRequest(ctx *fasthttp.RequestCtx) string
FromRequest returns client's real public IP address from http request headers.
func IsPrivateAddress ¶
IsPrivateAddress works by checking if the address is under private CIDR blocks. List of private CIDR blocks can be seen on :
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.