mipv4

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIPArray added in v0.2.0

func GetIPArray() ([]string, error)

GetIPArray gets the local all IPv4 address array.

func GetIntranetIPArray added in v0.2.0

func GetIntranetIPArray() ([]string, error)

GetIntranetIPArray gets the local intranet IPv4 address array.

func GetLocalIP added in v0.2.0

func GetLocalIP() (string, error)

GetLocalIP gets the local first IPv4 address.

func IsIntranet

func IsIntranet(ip string) bool

IsIntranet checks if the given IP is an intranet IP.

Types

This section is empty.

Jump to

Keyboard shortcuts

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