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 ¶
func IsRateLimitError ¶ added in v0.8.0
IsRateLimitError reports whether err represents a GitHub API rate-limit condition.
Types ¶
type CheckResult ¶
CheckResult captures the latest release check outcome.
type RateLimitError ¶ added in v0.8.0
RateLimitError indicates GitHub's API rate limit was hit while checking for updates.
Callers should generally treat this as a best-effort failure and suppress/minimize output.
func (*RateLimitError) Error ¶ added in v0.8.0
func (e *RateLimitError) Error() string
Click to show internal directories.
Click to hide internal directories.