Documentation ¶
Index ¶
- func CompareBytes(b1 []byte, b2 []byte) int
- func CompareIP(ip1 string, ip2 string) int
- func CompareLong(i1 string, i2 string) int
- func IsIPv4(ipString string) bool
- func IsIPv6(ipString string) bool
- func IsSameVersion(ip1 string, ip2 string) bool
- func IsValid(ipString string) bool
- func ToBytes(ip string) []byte
- func ToHex(ip string) string
- func ToLittleLong(ip string) string
- func ToLong(ip string) string
- type CIDR
- type IP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareBytes ¶
func CompareLong ¶
func IsSameVersion ¶
func ToLittleLong ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.