host

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAnyAvailableIP

func GetAnyAvailableIP() (string, error)

func GetHostIP

func GetHostIP() (string, error)

func GetHostIPByHostname

func GetHostIPByHostname(h string) (string, error)

func GetHostIPByInterface

func GetHostIPByInterface(iface string) (string, error)

func GetHostname

func GetHostname() (string, error)

func MyIP

func MyIP() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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