Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConsulGuideRawURLs = []string{
"https://github.com/hashicorp/consul/blob/main/website/content/api-docs",
"https://github.com/hashicorp/consul/tree/main/website/content/docs",
}
Anonymous access could cause rate limiting, so we point to the raw files in the main branch, hence caching the URLs
Functions ¶
Types ¶
type GitHubAPIResponse ¶
type GitHubAPIResponse struct {
Payload struct {
Tree struct {
Items []GitHubFileInfo `json:"items"`
} `json:"tree"`
} `json:"payload"`
}
type GitHubFileInfo ¶
Click to show internal directories.
Click to hide internal directories.