Documentation ¶
Index ¶
- Variables
- func AppendSortedNetIPPrefixSlices(sorted *[]netip.Prefix, ip netip.Prefix)
- func IPv4or6IPRange(ipRange string) uint8
- func InRange(r IpRange, ip netip.Addr) uint8
- func Is4String(ipv4 string) uint8
- func Is6String(ipv6 string) uint8
- func IsIP(ip netip.Addr) (uint8, uint8)
- func IsPrivateSubnet(ipAddress netip.Addr) uint8
- func ListContainsIP(ipList []netip.Prefix, ip netip.Addr) uint8
- func Listv4or6ContainsIP(ipListv4 []netip.Prefix, ipListv6 []netip.Prefix, ip netip.Addr) uint8
- type IpRange
Constants ¶
This section is empty.
Variables ¶
View Source
var PrivateRanges = []IpRange{ IpRange{ // contains filtered or unexported fields }, IpRange{ // contains filtered or unexported fields }, IpRange{ // contains filtered or unexported fields }, }
Functions ¶
func AppendSortedNetIPPrefixSlices ¶ added in v0.0.43
func IPv4or6IPRange ¶ added in v0.0.51
func IsPrivateSubnet ¶ added in v0.0.20
func ListContainsIP ¶ added in v0.0.20
Types ¶
Click to show internal directories.
Click to hide internal directories.