update

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: GPL-2.0 Imports: 6 Imported by: 0

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
}

func NewUpdate

func NewUpdate(log logger.Logger, config *domain.Config) *Service

func (*Service) CheckUpdateAvailable

func (s *Service) CheckUpdateAvailable(ctx context.Context) (*version.Release, error)

func (*Service) CheckUpdates

func (s *Service) CheckUpdates(ctx context.Context)

func (*Service) GetLatestRelease

func (s *Service) GetLatestRelease(ctx context.Context) *version.Release

Jump to

Keyboard shortcuts

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