version

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitCommit string

GitCommit is the git commit hash which is set during build time via -ldflags

Functions

func ProtocolVersion added in v1.10.0

func ProtocolVersion() uint32

ProtocolVersion returns the minor component of the embedded semver VERSION string as a monotonic integer (e.g. 9 from "v1.9.1"). Any release that adds a CommandType, changes a command payload shape, or alters the snapshot format must bump the minor version.

Types

type VersionInfo added in v0.4.0

type VersionInfo struct {
	Version  string
	Revision string
}

func GetVersion

func GetVersion() *VersionInfo

Jump to

Keyboard shortcuts

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