Versions in this module Expand all Collapse all v1 v1.2.1 Nov 22, 2021 Changes in this version + var ErrInvalidIPAddress = errors.New("invalid ip address") + var ErrNotIPv4Address = errors.New("not an IPv4 addres") + var ErrNotIPv6Address = errors.New("not an IPv6 addres") v1.1.0 Apr 23, 2019 Changes in this version + func ParseIP(s string) (net.IP, int) v1.0.1 Nov 28, 2018 Changes in this version + func BigIntToIPv6(ipaddr big.Int) net.IP v1.0.0 Nov 23, 2018 Changes in this version + func IPv4ToInt(ipaddr net.IP) uint32 + func IPv6ToBigInt(ipaddr net.IP) *big.Int + func IPv6ToInt(ipaddr net.IP) [2]uint64 + func IntToIPv4(ipaddr uint32) net.IP + func IntToIPv6(high, low uint64) net.IP