installation

package
v0.0.0-...-ba4a4a7 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Name                 string
	Download_count       int
	Browser_download_url string
}

Type used when parsing latest version information json

type AutoUpdate

type AutoUpdate struct {
	// contains filtered or unexported fields
}

func NewAutoUpdate

func NewAutoUpdate(config *config.Service, version string) *AutoUpdate

func (*AutoUpdate) Start

func (h *AutoUpdate) Start()

func (*AutoUpdate) UpdateIfAvailable

func (h *AutoUpdate) UpdateIfAvailable() (string, string, error)

type Release

type Release struct {
	Tag_name     string
	Draft        bool
	Prerelease   bool
	Published_at string
	Body         string
	Assets       []Asset
}

Type used when parsing latest version information json

Jump to

Keyboard shortcuts

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