updater

package
v3.0.0-...-838862a Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetcher

func Fetcher(version string) fetcher.Interface

Types

type FormData

type FormData struct {
	OS             string
	Arch           string
	CurrentVersion string
	Timezone       string
	Binary         string
}

type OSS

type OSS struct {
	Interval       time.Duration
	CurrentVersion string
	Updated        bool
}

func (*OSS) Fetch

func (g *OSS) Fetch() (io.Reader, error)

Fetch binary from URL via OSS client

func (*OSS) Init

func (g *OSS) Init() error

Init validates the provided config

Jump to

Keyboard shortcuts

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