//
pkg.gl
Category
github.com/chubaofs/cfs
util
iputil
package
2.5.2+incompatible
Repository:
https://github.com/chubaofs/cfs.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
0
Files
117 SLOC
#
Functions
FromRequest
FromRequest return client's real public IP address from http request headers.
GetDistance
No description provided by the author
RealIP
RealIP is depreciated, use FromRequest instead.
#
Constants
DEFAULT_MAX_DISTANCE
set default max distance from two ips to length of ipv6.