Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionInfo ¶
type VersionInfo struct { GitVersion string `json:"gitVersion" yaml:"gitVersion"` GitCommit string `json:"gitCommit" yaml:"gitCommit"` BuildDate string `json:"buildDate" yaml:"buildDate"` GoVersion string `json:"goVersion" yaml:"goVersion"` Compiler string `json:"compiler" yaml:"compiler"` Platform string `json:"platform" yaml:"platform"` }
func Get ¶
func Get() *VersionInfo
Get returns the overall codebase version. It's for detecting what code a binary was built from.
func (*VersionInfo) GrpcMetadata ¶ added in v0.4.37
func (info *VersionInfo) GrpcMetadata() metadata.MD
func (*VersionInfo) Headers ¶ added in v0.4.37
func (info *VersionInfo) Headers() map[string]string
func (*VersionInfo) String ¶
func (info *VersionInfo) String() string
Click to show internal directories.
Click to hide internal directories.