mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
implement packet pacing
This commit is contained in:
parent
c3cc35363b
commit
5ef89733ae
10 changed files with 153 additions and 50 deletions
|
@ -142,13 +142,13 @@ func (mr *MockSendAlgorithmMockRecorder) SetSlowStartLargeReduction(arg0 interfa
|
|||
}
|
||||
|
||||
// TimeUntilSend mocks base method
|
||||
func (m *MockSendAlgorithm) TimeUntilSend(arg0 time.Time, arg1 protocol.ByteCount) time.Duration {
|
||||
ret := m.ctrl.Call(m, "TimeUntilSend", arg0, arg1)
|
||||
func (m *MockSendAlgorithm) TimeUntilSend(arg0 protocol.ByteCount) time.Duration {
|
||||
ret := m.ctrl.Call(m, "TimeUntilSend", arg0)
|
||||
ret0, _ := ret[0].(time.Duration)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// TimeUntilSend indicates an expected call of TimeUntilSend
|
||||
func (mr *MockSendAlgorithmMockRecorder) TimeUntilSend(arg0, arg1 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TimeUntilSend", reflect.TypeOf((*MockSendAlgorithm)(nil).TimeUntilSend), arg0, arg1)
|
||||
func (mr *MockSendAlgorithmMockRecorder) TimeUntilSend(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TimeUntilSend", reflect.TypeOf((*MockSendAlgorithm)(nil).TimeUntilSend), arg0)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue