mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
pass the current timestamp to the pacer instead of calling time.Now() (#3824)
This commit is contained in:
parent
072a602cc1
commit
b27d114f07
9 changed files with 114 additions and 127 deletions
|
@ -162,17 +162,17 @@ func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry() *gomock.Call {
|
|||
}
|
||||
|
||||
// SendMode mocks base method.
|
||||
func (m *MockSentPacketHandler) SendMode() ackhandler.SendMode {
|
||||
func (m *MockSentPacketHandler) SendMode(arg0 time.Time) ackhandler.SendMode {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "SendMode")
|
||||
ret := m.ctrl.Call(m, "SendMode", arg0)
|
||||
ret0, _ := ret[0].(ackhandler.SendMode)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// SendMode indicates an expected call of SendMode.
|
||||
func (mr *MockSentPacketHandlerMockRecorder) SendMode() *gomock.Call {
|
||||
func (mr *MockSentPacketHandlerMockRecorder) SendMode(arg0 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMode", reflect.TypeOf((*MockSentPacketHandler)(nil).SendMode))
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMode", reflect.TypeOf((*MockSentPacketHandler)(nil).SendMode), arg0)
|
||||
}
|
||||
|
||||
// SentPacket mocks base method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue