version

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Functions

func NewBuildInfoCollector added in v1.2.0

func NewBuildInfoCollector() prometheus.Collector

Types

type BuildInfo added in v0.11.0

type BuildInfo struct {
	GoVersion string
	Commit    string
	Time      string
	Modified  string
}

func ReadBuildInfo added in v0.11.0

func ReadBuildInfo() *BuildInfo

func (BuildInfo) Print added in v0.11.0

func (info BuildInfo) Print()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL