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 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)
Click to show internal directories.
Click to hide internal directories.