Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HTTPClient = &http.Client{Timeout: 30 * time.Second}
HTTPClient is the http.Client used for GitHub API operations, allowing mock overrides in tests.
Functions ¶
Types ¶
type ToolInfo ¶ added in v1.0.112
type ToolInfo struct {
Name string `json:"name"`
Key string `json:"key"` // "gbe" | "steamless"
InstalledPath string `json:"installed_path"`
InstalledTag string `json:"installed_tag"`
LatestTag string `json:"latest_tag"`
ReleaseName string `json:"release_name"`
ReleaseNotes string `json:"release_notes"`
ReleaseURL string `json:"release_url"`
PublishedAt string `json:"published_at"`
HasUpdate bool `json:"has_update"`
}
ToolInfo holds version, release metadata, and changelog notes for external tools.
func FetchGBERelease ¶ added in v1.0.112
FetchGBERelease fetches the latest release metadata and release notes for GBE fork.
func FetchSteamlessRelease ¶ added in v1.0.112
FetchSteamlessRelease fetches the latest release metadata and release notes for steamless-rs.
Click to show internal directories.
Click to hide internal directories.