Documentation
¶
Overview ¶
Package app holds application build information
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildTime string
BuildTime is the Time that the Application was Built
View Source
var GitCommitID string
GitCommitID holds the Git Commit ID of the current binary/build
View Source
var Name string
Name is the name of the Application
View Source
var Server, _ = os.Hostname()
Server is the name, hostname or ip of the server as advertised in HTTP Headers By default uses the hostname reported by the kernel
View Source
var Version string
Version holds the version of the Application
Functions ¶
func SetAppInfo ¶
func SetAppInfo(name, version, buildTime, gitCommitID string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.