tools

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultHostIPAddress

func DefaultHostIPAddress() string

DefaultHostIPAddress IP address of machine

func HostIPAddressV4

func HostIPAddressV4(name string) string

HostIPAddressV4 found the IPV4 address from appoint net interface name

func HostIPAddressV6

func HostIPAddressV6(name string) string

HostIPAddressV6 found the IPV6 address from appoint net interface name

func Hostname

func Hostname() string

Hostname of machine

func IsLocalHostAddress added in v0.3.0

func IsLocalHostAddress(address string) bool

IsLocalHostAddress is the address from local

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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