Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckOptions ¶ added in v0.2.1
type CheckResult ¶ added in v0.2.1
type CheckResult struct {
CurrentVersion string `json:"currentVersion"`
LatestVersion string `json:"latestVersion"`
UpdateAvailable bool `json:"updateAvailable"`
ReleaseURL string `json:"releaseUrl"`
}
func Check ¶ added in v0.2.1
func Check(ctx context.Context, opts CheckOptions) (CheckResult, error)
Check queries only release metadata. It never downloads an archive or changes the current executable.
Click to show internal directories.
Click to hide internal directories.