package
Version:
v2.0.0+incompatible
Opens a new window with list of versions in this module.
Published: Sep 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
XForwardedFor = "X-Forwarded-For"
XRealIP = "X-Real-IP"
)
Ip2long 将 IPv4 字符串形式转为 uint32
RemoteIp 返回远程客户端的 IP,如 192.168.1.1
Source Files
¶
Click to show internal directories.
Click to hide internal directories.