update

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ReleasesBaseURL = "https://github.com/" + Repo + "/releases"

ReleasesBaseURL is the base URL for release downloads.

View Source
const Repo = "conn-castle/agent-layer"

Repo identifies the GitHub repository used for release checks.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResult

type CheckResult struct {
	Current      string
	Latest       string
	Outdated     bool
	CurrentIsDev bool
}

CheckResult captures the latest release check outcome.

func Check

func Check(ctx context.Context, currentVersion string) (CheckResult, error)

Check fetches the latest release and compares it to the currentVersion. It returns the normalized versions along with an outdated flag.

Jump to

Keyboard shortcuts

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