NewClient returns a http.Client using the specified http.RoundTripper.
(rt http.RoundTripper)
| 472 | |
| 473 | // NewClient returns a http.Client using the specified http.RoundTripper. |
| 474 | func newClient(rt http.RoundTripper) *http.Client { |
| 475 | return &http.Client{Transport: rt} |
| 476 | } |
| 477 | |
| 478 | // NewClientFromConfig returns a new HTTP client configured for the |
| 479 | // given config.HTTPClientConfig and config.HTTPClientOption. |
no outgoing calls
no test coverage detected