Remove idle timeout from network

This commit is contained in:
9seconds
2021-03-17 22:08:47 +03:00
parent adf4ab1a35
commit f21ee40baf
7 changed files with 11 additions and 31 deletions
-2
View File
@@ -5,7 +5,6 @@ import (
"errors"
"net"
"net/http"
"time"
)
var (
@@ -26,7 +25,6 @@ type Network interface {
Dial(network, address string) (net.Conn, error)
DialContext(ctx context.Context, network, address string) (net.Conn, error)
MakeHTTPClient(func(ctx context.Context, network, address string) (net.Conn, error)) *http.Client
IdleTimeout() time.Duration
}
type AntiReplayCache interface {