enterprise-contract/go-gather

Don't rely on global state for HTTP transports

Opened this issue · 0 comments

In #114 and #113 configurable http.RoundTripper was introduced to allow adding tracing & backoff/retry in EC CLI. The approach taken there relies on global state, we should try to not have the global state but a way to configure options, like http.RoundTripper, via per gather implementation instance.