updater

package
v3.74.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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