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
+4
View File
@@ -30,6 +30,10 @@ func (d *DialerMock) DialContext(ctx context.Context, network, address string) (
return args.Get(0).(net.Conn), args.Error(1)
}
func (d *DialerMock) TCPBufferSize() int {
return d.Called().Int(0)
}
type HTTPServerTestSuite struct {
httpServer *httptest.Server
}