Documentation ¶
Overview ¶
Package gipv4 provides useful API for IPv4 address handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIntranet ¶
判断所给ip是否为局域网ip A类 10.0.0.0--10.255.255.255 B类 172.16.0.0--172.31.255.255 C类 192.168.0.0--192.168.255.255
func ParseAddress ¶
解析地址,形如:192.168.1.1:80 -> 192.168.1.1, 80
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.