package
0.6.7
Repository: https://github.com/fimreal/rack.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
默认返回 v4,否则再按照 v6 返回.
return client ip @Summary Return client ip @Description Return client ip @Produce plain @Success 200 {string} 1.1.1.1 @Router /ip [get].
需要访问互联网,使用 ip2location 更好 @Summary Describe client ip @Description Describe client ip,需要访问互联网,使用 ip2location 更好 @Produce json @Success 200 {object} ipinfo @Router /ipinfo [get].
默认返回 v4,否则再按照 v6 返回.
需要访问互联网,使用 ip2location 更好 gin 反代.
默认返回 v4,否则再按照 v6 返回.
默认返回 v4,否则检查是否为 v6.
判断是否为私网 IP.
判断是否为保留网络地址 https://en.wikipedia.org/wiki/Reserved_IP_addresses.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author