NewClient returns a http.Client using the specified http.RoundTripper.
(rt http.RoundTripper)
| 595 | |
| 596 | // NewClient returns a http.Client using the specified http.RoundTripper. |
| 597 | func newClient(rt http.RoundTripper) *http.Client { |
| 598 | return &http.Client{Transport: rt} |
| 599 | } |
| 600 | |
| 601 | // NewClientFromConfig returns a new HTTP client configured for the |
| 602 | // given config.HTTPClientConfig and config.HTTPClientOption. |
no outgoing calls
no test coverage detected