updater

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: MIT Imports: 10 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 struct{}

Updater is responsible for self updating a binary

func New

func New() *Updater

New creates a new instance of Updater

func (*Updater) Apply

func (u *Updater) Apply(reader io.Reader) error

Apply performs an update of the current executable (or opts.TargetFile, if set) with the contents of the given io.Reader.

Jump to

Keyboard shortcuts

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