version

package
v1.0.77 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

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

func NewChecker

func NewChecker(versionURL string) *Checker

func (*Checker) CheckForUpdate

func (c *Checker) CheckForUpdate(currentVersion string) (*VersionInfo, error)

type VersionInfo

type VersionInfo struct {
	LatestVersion   string `json:"latest_version"`
	CurrentVersion  string
	UpdateAvailable bool
	ReleaseURL      string
}

Jump to

Keyboard shortcuts

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