Documentation ¶
Index ¶
Constants ¶
View Source
const ( VersionFalse versionValue = 0 VersionTrue versionValue = 1 VersionRaw versionValue = 2 )
Variables ¶
This section is empty.
Functions ¶
func PrintAndExitIfRequested ¶
func PrintAndExitIfRequested()
PrintAndExitIfRequested will check if the -version flag was passed and print the version and exit if passed.
func RequestVersion ¶
func RequestVersion(w http.ResponseWriter, r *http.Request)
RequestVersion print version
func VersionVar ¶
VersionVar add version flag
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.