Versions in this module Expand all Collapse all v0 v0.0.2 Oct 1, 2023 v0.0.1 Sep 30, 2023 Changes in this version + const MaxPackageFileSize + const MaxResponseSize + type Config struct + Channel string + Client *http.Client + ConfName string + ExecPath string + GOARCH string + GOARM string + GOMIPS string + GOOS string + Version string + VersionCheckURL string + WorkDir string + type Updater struct + func NewUpdater(conf *Config) *Updater + func (u *Updater) NewVersion() (nv string) + func (u *Updater) Update(firstRun bool) (err error) + func (u *Updater) VersionCheckURL() (vcu string) + func (u *Updater) VersionInfo(forceRecheck bool) (vi VersionInfo, err error) + type VersionInfo struct + Announcement string + AnnouncementURL string + CanAutoUpdate aghalg.NullBool + NewVersion string