version

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0, BSD-2-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionChecker

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

VersionChecker can be used to check for updates on GitHub.

func NewVersionChecker

func NewVersionChecker(owner string, repository string, version string) *VersionChecker

NewVersionChecker creates a new VersionChecker that can be used to check for updates on GitHub.

func (*VersionChecker) CheckForUpdates

func (v *VersionChecker) CheckForUpdates() (*latest.CheckResponse, error)

CheckForUpdates checks for latest updates on GitHub.

Jump to

Keyboard shortcuts

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