Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service periodically checks api.autobrr.com for new qui releases and caches the latest result.
func NewService ¶
NewService creates a new update Service instance.
func (*Service) CheckUpdateAvailable ¶
CheckUpdateAvailable performs an update check and returns the new release if one is available.
func (*Service) CheckUpdates ¶
CheckUpdates triggers a refresh of the latest release information if updates are enabled.
func (*Service) GetLatestRelease ¶
GetLatestRelease returns the last known release if a newer version has been found.
func (*Service) SetEnabled ¶
SetEnabled toggles whether periodic update checks should run.
Click to show internal directories.
Click to hide internal directories.