update

package
v1.0.0-alpha-64 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

This section is empty.

Variables

View Source
var AppID = "app_g12mjgk2k9D"

AppID is Equinox's app ID for this tool

View Source
var PublicKey = []byte(`
-----BEGIN ECDSA PUBLIC KEY-----
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE1+wgAlkBJRmtRwmZWfq9fa8dBlJ929hM
BzASHioHo6RP1V+4EKnAxaYXN4eWlgalxQ2BEr8TqYRM+uHPizteVR11wKfsO6S0
GENiOKpfivw5FIiTN14MZeMTagiKJUOq
-----END ECDSA PUBLIC KEY-----
`)

PublicKey is the public key for the certificate used with Equinox

Functions

func ApplyFixes

func ApplyFixes(pastVersion string)

ApplyFixes applies fixes functions for updating this tool after updates

func GetReleaseChannel

func GetReleaseChannel() string

GetReleaseChannel gets the channel user has used last time (or stable)

func NotifierCheck

func NotifierCheck() error

NotifierCheck enquires equinox if a new version is available

func Notify

func Notify()

Notify is called every time this tool executes to verify if it is outdated

func Update

func Update(channel string) error

Update this tool

Types

This section is empty.

Jump to

Keyboard shortcuts

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