Documentation
¶
Overview ¶
Package github provides shared GitHub API clients for forge-aware features.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient creates a GitHub API client using credentials from the environment (GITHUB_TOKEN, GH_TOKEN). It falls back to an unauthenticated client when no token is available.
func NewHTTPClient ¶
NewHTTPClient creates an HTTP client with retry and backoff tuned for GitHub API usage. It retries transient server failures and GitHub rate-limit responses that include Retry-After.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.