Documentation
¶
Overview ¶
Package site contains variables and general purpose utilities related to the labpack command line tool.
For example, it includes the default user agent and default UFS RPC options.
Index ¶
Constants ¶
const VersionNumber = "1.0.0"
VersionNumber is the version number for the tool. It follows the Semantic Versioning Specification (http://semver.org) and the format is: "MAJOR.MINOR.0+BUILD_TIME". We can ignore the PATCH part (i.e. it's always 0) to make the maintenance work easier. We can also print out the build time (e.g. 20060102150405) as the METADATA when show version to users.
Variables ¶
var DefaultPRPCOptions = prpcOptionWithUserAgent(fmt.Sprintf("labpack/%s", VersionNumber))
DefaultPRPCOptions is used for PRPC clients. If it is nil, the default value is used. See prpc.Options for details.
This is provided so it can be overridden for testing.
var UFSPRPCOptions = prpcOptionWithUserAgent("labpack/6.0.0")
UFSPRPCOptions is used for UFS PRPC clients. Version 6.0.0 used as the last known expected version by UFS.
Functions ¶
This section is empty.
Types ¶
This section is empty.