xipaddress

package
v0.0.0-...-89edfd8 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IpToUint32

func IpToUint32(ip net.IP) (uint32, error)

Convert an ipv4 to a uint32

func LastAddress

func LastAddress(n *net.IPNet) net.IP

Return the final address of a net range. Convert to IPv4 if possible, otherwise return an ipv6

func Uint32ToIP

func Uint32ToIP(ip uint32) net.IP

convert a uint32 to an ipv4

Types

This section is empty.

Jump to

Keyboard shortcuts

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