mipv4

package
v0.0.0-...-961d35a Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIntranetIpArray

func GetIntranetIpArray() ([]string, error)

GetIntranetIpArray 获取本地内网IPv4地址数组

func GetIpArray

func GetIpArray() ([]string, error)

GetIpArray 获取本地所有IPv4地址数组

func GetLocalIp

func GetLocalIp() (string, error)

GetLocalIp 获取本地首个IPv4地址

func IsIntranet

func IsIntranet(ip string) bool

IsIntranet 判断所给IP是否为内网IP

Types

This section is empty.

Jump to

Keyboard shortcuts

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