ip

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToIPv4

func ToIPv4(ip uint32) net.IP

ToIPv4 accepts an integer IP address in network byte order and returns an IP-typed address.

func ToIPv6

func ToIPv6(buffer []byte) net.IP

ToIPv6 converts the buffer with IPv6 address in network byte order to an IP-typed address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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