iputil

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIPsToString

func GetIPsToString() string

func IsNotLocal

func IsNotLocal(ip []byte) bool

func IsOK

func IsOK(ip []byte) bool

func LocalAddresses

func LocalAddresses() (rt []net.IP)

func ParseHexString

func ParseHexString(ipport string) ([]byte, error)

func ToBytes

func ToBytes(ip string) []byte

func ToBytesFrInt

func ToBytesFrInt(ip int32) []byte

func ToInt

func ToInt(ip []byte) int32

func ToString

func ToString(ip []byte) string

func ToStringFrInt

func ToStringFrInt(ip int32) string

func ToStringInt

func ToStringInt(ip int32) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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