Discover Packages
github.com/Luzifer/gobuilder
autoupdate
package
Version:
v1.38.0
Opens a new window with list of versions in this module.
Published: Sep 22, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
Updater is a helper for autoupdating go-binaries with their builds on GoBuilder.me
New instanciates a new Updater
HasUpdate checks whether a new version is available
Run starts a permanent loop (better start as a go-routine) looking for updates
to the current binary and will execute the update if required. This is intended
for long running processes like daemons
SingleRun checks for an update and updates the binary when required.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.