updater

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentAppVersion string

CurrentAppVersion is set via the server bootstrap process, from either the state or the baked in version

Functions

This section is empty.

Types

type Update

type Update struct {
	Component  string
	Repository string
	Version    *semver.Version
}

type Updater

type Updater struct{}

func (*Updater) LatestAppVersion

func (u *Updater) LatestAppVersion() (*semver.Version, error)

func (*Updater) Start

func (u *Updater) Start() (<-chan Update, error)

Start runs a check for updates every hour, and send them down a channel to the server for processing

Jump to

Keyboard shortcuts

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