//
pkg.gl
Category
github.com/superproj/onex
pkg
util
ip
package
0.2.0-alpha.3
Repository:
https://github.com/superproj/onex.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
42 SLOC
#
Functions
GetLocalIP
GetLocalIP returns the non loopback local IP of the host.
RemoteIP
RemoteIP returns the remote ip of the request.
#
Constants
XClientIP
Define http headers.
XForwardedFor
Define http headers.
XRealIP
Define http headers.