Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶
type Updater struct { *common.Common Config config.AppConfigurer OSCommand *oscommands.OSCommand }
Updater checks for updates and does updates
func NewUpdater ¶
func NewUpdater(cmn *common.Common, config config.AppConfigurer, osCommand *oscommands.OSCommand) (*Updater, error)
NewUpdater creates a new updater
func (*Updater) CheckForNewUpdate ¶
CheckForNewUpdate checks if there is an available update
func (*Updater) RecordLastUpdateCheck ¶
RecordLastUpdateCheck records last time an update check was performed
Click to show internal directories.
Click to hide internal directories.