common

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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