mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 03:34:02 +03:00
Add new TCPBufferSize parameter to network
This commit is contained in:
@@ -22,3 +22,7 @@ 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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user