Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMinAgentVersion ¶
func GetMinAgentVersion() string
func GetVersion ¶
func GetVersion() string
func Version ¶
func Version(service string) http.HandlerFunc
Version exposes an HTTP handler for retrieving service version.
Types ¶
type VersionInfo ¶
type VersionInfo struct {
// Service contains service name.
Service string `json:"service"`
// Version contains service current version value.
Version string `json:"version"`
}
VersionInfo contains version endpoint response.
Click to show internal directories.
Click to hide internal directories.