netx

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL