update

package
v0.0.0-...-31c1c1e Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	Start()
	Stop()
}

UpdateCheck is an interface

func New

func New(config Config) (Checker, error)

New creates a new service instance that implements the Service interface

type Config

type Config struct {
	ID      string
	Name    string
	Version string
	Arch    string
	Monitor metric.Reader
	Logger  log.Logger
}

Config is the configuration for the update check

Jump to

Keyboard shortcuts

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