version

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBannerVersion added in v0.17.0

func GetBannerVersion() string

func GetBuildCommit

func GetBuildCommit() string

func GetBuildTime

func GetBuildTime() string

GetBuildTime returns the time at which the build took place

func GetServerBannerVersion added in v0.17.0

func GetServerBannerVersion() string

func GetServerVersion added in v0.17.0

func GetServerVersion() string

func GetTelemetryUserAgent added in v0.17.0

func GetTelemetryUserAgent() string

func GetUserAgent added in v0.17.0

func GetUserAgent() string

func GetVersion

func GetVersion() string

GetVersion returns the semver compatible version number

func GetVersionString

func GetVersionString() string

GetVersionString returns a standard version header

Types

type SystemInfo added in v0.17.0

type SystemInfo struct {
	Name      string `json:"name"`
	Node      string `json:"node"`
	Release   string `json:"release"`
	Version   string `json:"version"`
	Machine   string `json:"machine"`
	Domain    string `json:"domain,omitempty"`
	OS        string `json:"os"`
	Processor string `json:"processor"`
}

func GetSystemInfo added in v0.17.0

func GetSystemInfo() (*SystemInfo, error)

func Uname added in v0.17.0

func Uname() (*SystemInfo, error)

Jump to

Keyboard shortcuts

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