update

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

type Updater interface {
	Method() string

	Lookup() (updateAvailable bool, err error)
	Download() (output string, err error)
}

func NewUpdateForUpdateString

func NewUpdateForUpdateString(updateInfoString string, appImage appimage.AppImage) (Updater, error)

func NewUpdaterFor

func NewUpdaterFor(target *string) (Updater, error)

factory updaters for creating Updater instances from an AppImage file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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