Function
newRateLimitHandlerClient
(httpClient *http.Client)
Source from the content-addressed store, hash-verified
| 27 | } |
| 28 | |
| 29 | func newRateLimitHandlerClient(httpClient *http.Client) *rateLimitHandlerClient { |
| 30 | return &rateLimitHandlerClient{sc: githubv4.NewClient(httpClient)} |
| 31 | } |
| 32 | |
| 33 | // mutate calls the github api with a graphql mutation and sends a core.ExportResult for each rate limiting event |
| 34 | func (c *rateLimitHandlerClient) mutate(ctx context.Context, m interface{}, input githubv4.Input, vars map[string]interface{}, out chan<- core.ExportResult) error { |
Tested by
no test coverage detected