ip_helper

package
v0.4.4-3-alpha9 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeviceAllIP added in v0.3.1

func GetDeviceAllIP(port string) []string

func GetDeviceAllIPv4 added in v0.4.5

func GetDeviceAllIPv4() map[string]string

func GetExternalIPV4

func GetExternalIPV4() string

获取外网ip

func GetExternalIPV6

func GetExternalIPV6() string

获取外网ip

func GetLoclIp

func GetLoclIp() string

获取本地ip

func HasLocalIP added in v0.3.1

func HasLocalIP(ip net.IP) bool

func IsIPv4

func IsIPv4(address string) bool

func IsIPv6

func IsIPv6(address string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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