Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Version string `json:"version"` Revision string `json:"revision"` Branch string `json:"branch"` Prerelease string `json:"prerelease"` IsSnapshot string `json:"is_snapshot"` BuildUser string `json:"build_user"` BuildDate string `json:"build_date"` GoVersion string `json:"go_version"` Os string `json:"os"` Arch string `json:"arch"` Compiler string `json:"compiler"` }
Info represents all available build information.
func NewInfo ¶
func NewInfo( version string, revision string, branch string, pre string, snap string, buildUser string, buildDate string, ) Info
NewInfo returns all available build information.
func (Info) HTTPHandler ¶
func (Info) OpenCensusFields ¶
func (Info) OpenTelemetryFields ¶
func (Info) OpenTracingFields ¶
func (i Info) OpenTracingFields() []opentracing.Tag
Click to show internal directories.
Click to hide internal directories.