netutil

package
v1.23.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalIPs added in v1.23.3

func GetLocalIPs() ([]string, error)

GetLocalIPs() returns IP addresses associated with the machine

func IsLocalIP added in v1.23.3

func IsLocalIP(ipAddress string) bool

IsLocalIP returns true if the provided IP address is assigned to the local computer

func IsPortActive

func IsPortActive(port string) bool

IsPortActive checks to see if the given port on Docker IP is answering.

Types

This section is empty.

Jump to

Keyboard shortcuts

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