Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationType ¶
type ApplicationType int
const ( AppTypeAwl ApplicationType = iota AppTypeAwlTray )
type UpdateService ¶
type UpdateService struct { NewVersion updaterini.Version // contains filtered or unexported fields }
func NewUpdateService ¶
func NewUpdateService(c *config.Config, logger *log.ZapEventLogger, appType ApplicationType) (UpdateService, error)
func (*UpdateService) CheckForUpdates ¶
func (uc *UpdateService) CheckForUpdates() (bool, error)
func (*UpdateService) DoUpdate ¶
func (uc *UpdateService) DoUpdate() (updaterini.UpdateResult, error)
Click to show internal directories.
Click to hide internal directories.