Documentation ¶
Index ¶
Constants ¶
View Source
const (
VERSION = "1.0.0.0"
)
Define the version of GoUpdate
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶
type Updater struct { VersionURL string CurrentVersion string CheckFrequency int ShowProgress bool // contains filtered or unexported fields }
Updater is the updater object which contains the information needed for GoUpdate to function properly
func CreateUpdater ¶
CreateUpdater creates and returns a constructed Updater object using a url, current version and check frequency (0 for off)
func (Updater) CheckForUpdate ¶
CheckForUpdate manually performs an update check and returns a bool based on whether an update is available or not
func (Updater) PerformUpdate ¶
PerformUpdate downloads the updated file, unzips it and displays the changelog
Click to show internal directories.
Click to hide internal directories.