package
Version:
v3.5.0
Opens a new window with list of versions in this module.
Published: Feb 6, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package version provides information about app version.
BuildHost returns host name.
BuildTime returns Unix time when Agent was compiled.
BuildUser returns username.
func Data() (ver, rev, date string)
Data returns version data.
Detail returns string with detailed version info on separate lines.
GitBranch returns git branch name.
GitCommit returns git commit hash.
Info returns string with complete version info on single line.
Version returns version string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.