buildinfo

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package buildinfo identifies the running binary, independently of protocol version.

Index

Constants

This section is empty.

Variables

View Source
var BuildTime string
View Source
var ReleaseRepo = "koltyakov/control"
View Source
var Version = "dev"

Build metadata is set by the release/development builder using -ldflags.

Functions

This section is empty.

Types

type Info

type Info struct {
	Version     string `json:"version"`
	ReleaseRepo string `json:"releaseRepo,omitempty"`
	BuildTime   string `json:"buildTime,omitempty"`
	OS          string `json:"os"`
	Arch        string `json:"arch"`
	SHA256      string `json:"sha256,omitempty"`
}

func Current

func Current() Info

Jump to

Keyboard shortcuts

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