NewHTTPClient returns a HTTPClient that is used to communicate with wpt.fyi.
(hostname string)
| 30 | |
| 31 | // NewHTTPClient returns a HTTPClient that is used to communicate with wpt.fyi. |
| 32 | func NewHTTPClient(hostname string) HTTPClient { |
| 33 | return HTTPClient{ |
| 34 | hostname: hostname, |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | func (w HTTPClient) GetRuns( |
| 39 | _ context.Context, |
no outgoing calls