host

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindIP

func FindIP(host string) string

FindIP find host IP address

func GetFQDN

func GetFQDN() string

GetFQDN retrieve the fully qualified domain name

func GetFQDNLower

func GetFQDNLower() string

GetFQDNLower retrieve the fully qualified domain name in lowercase

func GetHost

func GetHost() string

GetHost retrieve the first part of the FQDN

func GetHostLower

func GetHostLower() string

GetHostLower retrieve the first part of the FQDN in lowercase

func GetIPs

func GetIPs() string

GetIPs looks at interfaces and returns list of comma separated ipv4 IPs

func GetOutboundIP

func GetOutboundIP() net.IP

GetOutboundIP find IP address that sends publicly

Types

This section is empty.

Jump to

Keyboard shortcuts

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