Add new TCPBufferSize parameter to network

This commit is contained in:
9seconds
2021-03-17 21:44:42 +03:00
parent 5e31b95bb5
commit 57cb1b5aa0
11 changed files with 54 additions and 3 deletions
+1
View File
@@ -27,6 +27,7 @@ type Network interface {
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
TCPBufferSize() int
}
type AntiReplayCache interface {