package
Version:
v0.0.0-...-1e877d2
Opens a new window with list of versions in this module.
Published: Jul 24, 2023
License: MIT
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.