Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("file not found")
Functions ¶
func GithubClient ¶
func GithubClient(ctx context.Context, token *oauth2.Token, client *http.Client) (*githubClient, error)
GithubClient returns a github client.
func InstrumentedHTTPClient ¶
func InstrumentedHTTPClient(logger log.Logger, reg prometheus.Registerer) *http.Client
Types ¶
Click to show internal directories.
Click to hide internal directories.