update

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateService

type UpdateService struct {
	NewVersion updaterini.Version
	// contains filtered or unexported fields
}

func NewUpdateService

func NewUpdateService(c *config.Config, logger *log.ZapEventLogger, appType config.AppType) (UpdateService, error)

func (*UpdateService) CheckForUpdates

func (uc *UpdateService) CheckForUpdates() (bool, error)

func (*UpdateService) DoUpdate

func (uc *UpdateService) DoUpdate() (updaterini.UpdateResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL