version

package
v0.0.0-...-2f095fc Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ReleaseHost = "ttnreleases.blob.core.windows.net/release"

ReleaseHost is where we publish our releases

Variables

View Source
var ErrNotFound = errors.New("Not Found")

ErrNotFound indicates that a version was not found

Functions

func GetLatest

func GetLatest(binary string) ([]byte, error)

GetLatest gets the latest release binary

func Selfupdate

func Selfupdate(ctx log.Interface, component string)

Selfupdate runs a self-update for the current binary

Types

type Info

type Info struct {
	Version string
	Commit  string
	Date    time.Time
}

Info contains version information

func GetLatestInfo

func GetLatestInfo() (*Info, error)

GetLatestInfo gets information about the latest release for the current branch

Jump to

Keyboard shortcuts

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