Documentation
¶
Overview ¶
Package update provides functionality for self-updating the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
Updater handles the self-update process.
func NewUpdater ¶
NewUpdater creates a new Updater.
func (*Updater) CheckForUpdate ¶
func (u *Updater) CheckForUpdate(ctx context.Context, owner, repo, currentVersion string) (*github.RepositoryRelease, bool, error)
CheckForUpdate checks for a new release on GitHub.
Click to show internal directories.
Click to hide internal directories.