version

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Version is an endpoint for version information.

Operations

  • 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 (see https://pkg.go.dev/runtime for details). For the remaining values, see https://pkg.go.dev/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