Add PatchHTTPClient method

This method is mostly required for testing
This commit is contained in:
9seconds
2021-03-11 05:01:26 +03:00
parent 24add0dce4
commit 757ea5b63c
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -39,4 +39,5 @@ type Network interface {
DNSResolve(network, hostname string) (ips []string, err error)
MakeHTTPClient(timeout time.Duration) *http.Client
IdleTimeout() time.Duration
PatchHTTPClient(*http.Client)
}