Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + const INITIATIVE_AUTO + const INITIATIVE_MANUAL + const INITIATIVE_NEVER + var NoUpdateAvailable error = fmt.Errorf("No update available") + type Initiative string + type Params struct + AppId string + AppVersion string + Arch string + Channel string + Checksum string + OS string + Tags map[string]string + UserId string + Version int + func (p *Params) CheckAndApplyUpdate(url string, up *update.Update) (result *Result, err error, errRecover error) + func (p *Params) CheckForUpdate(url string, up *update.Update) (*Result, error) + type Result struct + Checksum string + Initiative Initiative + PatchType update.PatchType + PatchUrl string + Signature string + Url string + Version string + func (r *Result) Update() (err error, errRecover error)