Auto-update interface

This commit is contained in:
Andrey Meshkov
2020-07-20 21:14:07 +03:00
parent 62ccd3fb41
commit 1bb183c2aa
3 changed files with 46 additions and 0 deletions

13
update/check.go Normal file
View File

@@ -0,0 +1,13 @@
package update
type VersionInfo struct {
NewVersion string
Announcement string
AnnouncementURL string
SelfUpdateMinVersion string
CanAutoUpdate bool
}
func (u *Updater) GetVersionResponse() (VersionInfo, error) {
return VersionInfo{}, nil
}