system

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostInfo

type HostInfo struct {
	OS   string
	FQDN string
}

func GetHostInfo

func GetHostInfo(logger *zap.Logger) (hostInfo *HostInfo)

GetHostInfo gets system information about the hostname

func (*HostInfo) GetHostname

func (hi *HostInfo) GetHostname(logger *zap.Logger) string

GetHostname gets the hostname provided by the system

Jump to

Keyboard shortcuts

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