Auto-update interface
This commit is contained in:
13
update/check.go
Normal file
13
update/check.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user