update

package
v12.120.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubChecker

func GitHubChecker(app, version, data string) (string, time.Time, bool)

GitHubChecker checks new releases on GitHub

func GitLabChecker added in v12.66.0

func GitLabChecker(app, version, data string) (string, time.Time, bool)

GitLabChecker checks new releases on GitLab

func UpdateChecker

func UpdateChecker(app, version, data string) (string, time.Time, bool)

UpdateChecker checks new releases on custom storage

Types

type ReleaseInfo

type ReleaseInfo struct {
	Version string    `json:"version"`
	Date    time.Time `json:"date"`
}

ReleaseInfo contains info about the latest version of application

Jump to

Keyboard shortcuts

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