Versions in this module Expand all Collapse all v0 v0.1.0 May 9, 2024 Changes in this version + func CIDRContainsIP(cidr, ip string) bool + func CIDRToIPRange(s string) ([]string, error) + func Detect(ip, port string) bool + func IPContains(ips string, target string) bool + func IPExpanded(ipStr string) string + func IPv4ToLong(ip net.IP) uint32 + func IsIP(ip string) bool + func IsIPv4(ip string) bool + func IsIPv6(ip string) bool + func IsInvalidPort(s string) bool + func IsPrivateIP(s string) (isIP bool, isPrivate bool) + func LongToIP(longIP uint32) net.IP