Documentation ¶
Overview ¶
Package common implements common things for Oasis Core Rosetta Gateway.
Index ¶
Constants ¶
View Source
const VersionUnknown = "unknown"
VersionUnknown represents an unknown version.
Variables ¶
View Source
var ( // SoftwareVersion represents the Oasis Core Rosetta Gateway's version and // should be set by the linker. SoftwareVersion = "0.0.0-unset" // RosettaAPIVersion represents the Rosetta API version with which the // Oasis Core Rosetta Gateway is guaranteed to be compatible with. RosettaAPIVersion = "1.4.1" // ToolchainVersion is the version of the Go compiler/standard library. ToolchainVersion = strings.TrimPrefix(runtime.Version(), "go") )
Functions ¶
func GetOasisCoreVersion ¶
func GetOasisCoreVersion() string
GetOasisCoreVersion returns the version of the Oasis Core dependency or unknown if it can't be obtained.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.