Documentation ¶ Index ¶ func IPv4ToInt(ip net.IP) (uint32, error) func IPv6ToInt(ipv6 net.IP) *big.Int func IntToIPv4(nn uint32) net.IP func IntToIPv6(nn *big.Int) net.IP func StringToIPv4(ip string) (uint32, error) func StringToIPv6(ip string) (*big.Int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IPv4ToInt ¶ func IPv4ToInt(ip net.IP) (uint32, error) func IPv6ToInt ¶ func IPv6ToInt(ipv6 net.IP) *big.Int func IntToIPv4 ¶ func IntToIPv4(nn uint32) net.IP func IntToIPv6 ¶ func IntToIPv6(nn *big.Int) net.IP func StringToIPv4 ¶ func StringToIPv4(ip string) (uint32, error) func StringToIPv6 ¶ func StringToIPv6(ip string) (*big.Int, error) Types ¶ This section is empty. Source Files ¶ View all Source files conv.go Directories ¶ Show internal Expand all Path Synopsis httpx Click to show internal directories. Click to hide internal directories.