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
func GetVersion ¶
func GetVersion() *VersionInfo
Click to show internal directories.
Click to hide internal directories.