version

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ReleasesAPI = "https://api.github.com/repos/vegaprotocol/vega/releases"
	ReleasesURL = "https://github.com/vegaprotocol/vega/releases"
)

Variables

This section is empty.

Functions

func Check

func Check(releasesGetterFn vgversion.ReleasesGetter, currentRelease string) (*semver.Version, error)

func IsUnreleased

func IsUnreleased() bool

Types

type GetVersionResponse

type GetVersionResponse struct {
	Version string `json:"version"`
	GitHash string `json:"gitHash"`
}

func GetVersionInfo

func GetVersionInfo() *GetVersionResponse

Jump to

Keyboard shortcuts

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