version

package
v0.0.45 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package version is an endpoint for version information.

Operations

We describe the operations permitted by this endpoint.

get_version

The Arguments are empty. The Result is of the form:

{
	"GoArch": string,
	"GoOS": string,
	"Major": integer,
	"Minor": integer,
	"Patch": integer,
	"GitCommit": string,
	"GitDirty": boolean,
	"Date": integer
}

The values of GoArch and GoOS are equal to the constants runtime.GOARCH and runtime.GOOS, respectively. For the remaining values, see bitbucket.org/pcastools/version for details. Here Date is given by the nanoseconds elapsed since January 1, 1970 UTC (i.e. as a Unix time).

Jump to

Keyboard shortcuts

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