Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_MAX_DISTANCE = 128
set default max distance from two ips to length of ipv6
Variables ¶
This section is empty.
Functions ¶
func FromRequest ¶
FromRequest return client's real public IP address from http request headers.
func GetDistance ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.