Documentation
¶
Index ¶
Constants ¶
View Source
const APIVersionKey = "X-GitHub-Api-Version"
View Source
const APIVersionValue = "2022-11-28"
TODO(kfcampbell): get the version from the generated code somehow
View Source
const AuthType = "bearer"
View Source
const AuthorizationKey = "Authorization"
View Source
const RetryAfterKey = "Retry-After"
View Source
const UserAgentKey = "User-Agent"
View Source
const UserAgentValue = "go-sdk@v0.0.0"
TODO(kfcampbell): get the version and binary name from build settings rather than hard-coding
View Source
const XRateLimitLimitKey = "X-Ratelimit-Limit"
View Source
const XRateLimitRemainingKey = "X-Ratelimit-Remaining"
documentation on rate limit headers is available here: https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#checking-the-status-of-your-rate-limit
View Source
const XRateLimitResetKey = "X-Ratelimit-Reset"
View Source
const XRateLimitResourceKey = "X-Ratelimit-Resource"
View Source
const XRateLimitUsedKey = "X-Ratelimit-Used"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.