Documentation
¶
Overview ¶
Package githubraw downloads a reusable workflow file from raw.githubusercontent.com at a commit (ports.WorkflowFetcher). It sends no credentials, bounds the time and the size of the download, and follows no redirect to another host.
Index ¶
Constants ¶
View Source
const DefaultBaseURL = "https://raw.githubusercontent.com"
DefaultBaseURL is where the files are.
DefaultTimeout bounds one download.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config configures a Fetcher; tests replace BaseURL and Client.
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
Fetcher implements ports.WorkflowFetcher over HTTPS.
Source Files
¶
- githubraw.go
Click to show internal directories.
Click to hide internal directories.