Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildTime = "MISSING BUILD TIME"
View Source
var GitCommit = "MISSING GIT COMMIT"
Functions ¶
func HealthzHandler ¶
func HealthzHandler() http.HandlerFunc
func ReadyzHandler ¶
func ReadyzHandler() http.HandlerFunc
ReadyzHandler checks if the application is ready and the backend server is up.
func VersionHandler ¶
func VersionHandler() http.HandlerFunc
VersionHandler returns version information as JSON.
Types ¶
type VersionInfo ¶
type VersionInfo struct { Version string `json:"version"` GitCommit string `json:"gitCommit"` BuildTime string `json:"buildTime"` }
VersionInfo represents the structure of version information.
Click to show internal directories.
Click to hide internal directories.