Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
_, LoopbackAddress, _ = net.ParseCIDR("127.0.0.0/8")
_, LinkLocalAddress, _ = net.ParseCIDR("169.254.0.0/16")
_, PrivateIPAddressClassA, _ = net.ParseCIDR("10.0.0.0/8")
_, PrivateIPAddressClassB, _ = net.ParseCIDR("172.16.0.0/12")
_, PrivateIPAddressClassC, _ = net.ParseCIDR("192.168.0.0/16")
)
View Source
var ErrCIDRsIsEmpty = fmt.Errorf("cidrs is empty")
Functions ¶
func MustParseCIDRs ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.