Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockConnectionFlowController
- func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)
- func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)
- func (m *MockConnectionFlowController) EXPECT() *MockConnectionFlowControllerMockRecorder
- func (m *MockConnectionFlowController) GetWindowUpdate() protocol.ByteCount
- func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
- func (m *MockConnectionFlowController) Reset() error
- func (m *MockConnectionFlowController) SendWindowSize() protocol.ByteCount
- func (m *MockConnectionFlowController) UpdateSendWindow(arg0 protocol.ByteCount) bool
- type MockConnectionFlowControllerAddBytesReadCall
- func (c *MockConnectionFlowControllerAddBytesReadCall) Do(f func(protocol.ByteCount)) *MockConnectionFlowControllerAddBytesReadCall
- func (c *MockConnectionFlowControllerAddBytesReadCall) DoAndReturn(f func(protocol.ByteCount)) *MockConnectionFlowControllerAddBytesReadCall
- func (c *MockConnectionFlowControllerAddBytesReadCall) Return() *MockConnectionFlowControllerAddBytesReadCall
- type MockConnectionFlowControllerAddBytesSentCall
- func (c *MockConnectionFlowControllerAddBytesSentCall) Do(f func(protocol.ByteCount)) *MockConnectionFlowControllerAddBytesSentCall
- func (c *MockConnectionFlowControllerAddBytesSentCall) DoAndReturn(f func(protocol.ByteCount)) *MockConnectionFlowControllerAddBytesSentCall
- func (c *MockConnectionFlowControllerAddBytesSentCall) Return() *MockConnectionFlowControllerAddBytesSentCall
- type MockConnectionFlowControllerGetWindowUpdateCall
- func (c *MockConnectionFlowControllerGetWindowUpdateCall) Do(f func() protocol.ByteCount) *MockConnectionFlowControllerGetWindowUpdateCall
- func (c *MockConnectionFlowControllerGetWindowUpdateCall) DoAndReturn(f func() protocol.ByteCount) *MockConnectionFlowControllerGetWindowUpdateCall
- func (c *MockConnectionFlowControllerGetWindowUpdateCall) Return(arg0 protocol.ByteCount) *MockConnectionFlowControllerGetWindowUpdateCall
- type MockConnectionFlowControllerIsNewlyBlockedCall
- func (c *MockConnectionFlowControllerIsNewlyBlockedCall) Do(f func() (bool, protocol.ByteCount)) *MockConnectionFlowControllerIsNewlyBlockedCall
- func (c *MockConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn(f func() (bool, protocol.ByteCount)) *MockConnectionFlowControllerIsNewlyBlockedCall
- func (c *MockConnectionFlowControllerIsNewlyBlockedCall) Return(arg0 bool, arg1 protocol.ByteCount) *MockConnectionFlowControllerIsNewlyBlockedCall
- type MockConnectionFlowControllerMockRecorder
- func (mr *MockConnectionFlowControllerMockRecorder) AddBytesRead(arg0 any) *MockConnectionFlowControllerAddBytesReadCall
- func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 any) *MockConnectionFlowControllerAddBytesSentCall
- func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *MockConnectionFlowControllerGetWindowUpdateCall
- func (mr *MockConnectionFlowControllerMockRecorder) IsNewlyBlocked() *MockConnectionFlowControllerIsNewlyBlockedCall
- func (mr *MockConnectionFlowControllerMockRecorder) Reset() *MockConnectionFlowControllerResetCall
- func (mr *MockConnectionFlowControllerMockRecorder) SendWindowSize() *MockConnectionFlowControllerSendWindowSizeCall
- func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 any) *MockConnectionFlowControllerUpdateSendWindowCall
- type MockConnectionFlowControllerResetCall
- func (c *MockConnectionFlowControllerResetCall) Do(f func() error) *MockConnectionFlowControllerResetCall
- func (c *MockConnectionFlowControllerResetCall) DoAndReturn(f func() error) *MockConnectionFlowControllerResetCall
- func (c *MockConnectionFlowControllerResetCall) Return(arg0 error) *MockConnectionFlowControllerResetCall
- type MockConnectionFlowControllerSendWindowSizeCall
- func (c *MockConnectionFlowControllerSendWindowSizeCall) Do(f func() protocol.ByteCount) *MockConnectionFlowControllerSendWindowSizeCall
- func (c *MockConnectionFlowControllerSendWindowSizeCall) DoAndReturn(f func() protocol.ByteCount) *MockConnectionFlowControllerSendWindowSizeCall
- func (c *MockConnectionFlowControllerSendWindowSizeCall) Return(arg0 protocol.ByteCount) *MockConnectionFlowControllerSendWindowSizeCall
- type MockConnectionFlowControllerUpdateSendWindowCall
- func (c *MockConnectionFlowControllerUpdateSendWindowCall) Do(f func(protocol.ByteCount) bool) *MockConnectionFlowControllerUpdateSendWindowCall
- func (c *MockConnectionFlowControllerUpdateSendWindowCall) DoAndReturn(f func(protocol.ByteCount) bool) *MockConnectionFlowControllerUpdateSendWindowCall
- func (c *MockConnectionFlowControllerUpdateSendWindowCall) Return(arg0 bool) *MockConnectionFlowControllerUpdateSendWindowCall
- type MockCryptoSetup
- func (m *MockCryptoSetup) ChangeConnectionID(arg0 protocol.ConnectionID)
- func (m *MockCryptoSetup) Close() error
- func (m *MockCryptoSetup) ConnectionState() handshake.ConnectionState
- func (m *MockCryptoSetup) DiscardInitialKeys()
- func (m *MockCryptoSetup) EXPECT() *MockCryptoSetupMockRecorder
- func (m *MockCryptoSetup) Get0RTTOpener() (handshake.LongHeaderOpener, error)
- func (m *MockCryptoSetup) Get0RTTSealer() (handshake.LongHeaderSealer, error)
- func (m *MockCryptoSetup) Get1RTTOpener() (handshake.ShortHeaderOpener, error)
- func (m *MockCryptoSetup) Get1RTTSealer() (handshake.ShortHeaderSealer, error)
- func (m *MockCryptoSetup) GetHandshakeOpener() (handshake.LongHeaderOpener, error)
- func (m *MockCryptoSetup) GetHandshakeSealer() (handshake.LongHeaderSealer, error)
- func (m *MockCryptoSetup) GetInitialOpener() (handshake.LongHeaderOpener, error)
- func (m *MockCryptoSetup) GetInitialSealer() (handshake.LongHeaderSealer, error)
- func (m *MockCryptoSetup) GetSessionTicket() ([]byte, error)
- func (m *MockCryptoSetup) HandleMessage(arg0 []byte, arg1 protocol.EncryptionLevel) error
- func (m *MockCryptoSetup) NextEvent() handshake.Event
- func (m *MockCryptoSetup) SetHandshakeConfirmed()
- func (m *MockCryptoSetup) SetLargest1RTTAcked(arg0 protocol.PacketNumber) error
- func (m *MockCryptoSetup) StartHandshake() error
- type MockCryptoSetupChangeConnectionIDCall
- func (c *MockCryptoSetupChangeConnectionIDCall) Do(f func(protocol.ConnectionID)) *MockCryptoSetupChangeConnectionIDCall
- func (c *MockCryptoSetupChangeConnectionIDCall) DoAndReturn(f func(protocol.ConnectionID)) *MockCryptoSetupChangeConnectionIDCall
- func (c *MockCryptoSetupChangeConnectionIDCall) Return() *MockCryptoSetupChangeConnectionIDCall
- type MockCryptoSetupCloseCall
- type MockCryptoSetupConnectionStateCall
- func (c *MockCryptoSetupConnectionStateCall) Do(f func() handshake.ConnectionState) *MockCryptoSetupConnectionStateCall
- func (c *MockCryptoSetupConnectionStateCall) DoAndReturn(f func() handshake.ConnectionState) *MockCryptoSetupConnectionStateCall
- func (c *MockCryptoSetupConnectionStateCall) Return(arg0 handshake.ConnectionState) *MockCryptoSetupConnectionStateCall
- type MockCryptoSetupDiscardInitialKeysCall
- func (c *MockCryptoSetupDiscardInitialKeysCall) Do(f func()) *MockCryptoSetupDiscardInitialKeysCall
- func (c *MockCryptoSetupDiscardInitialKeysCall) DoAndReturn(f func()) *MockCryptoSetupDiscardInitialKeysCall
- func (c *MockCryptoSetupDiscardInitialKeysCall) Return() *MockCryptoSetupDiscardInitialKeysCall
- type MockCryptoSetupGet0RTTOpenerCall
- func (c *MockCryptoSetupGet0RTTOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGet0RTTOpenerCall
- func (c *MockCryptoSetupGet0RTTOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGet0RTTOpenerCall
- func (c *MockCryptoSetupGet0RTTOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *MockCryptoSetupGet0RTTOpenerCall
- type MockCryptoSetupGet0RTTSealerCall
- func (c *MockCryptoSetupGet0RTTSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGet0RTTSealerCall
- func (c *MockCryptoSetupGet0RTTSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGet0RTTSealerCall
- func (c *MockCryptoSetupGet0RTTSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *MockCryptoSetupGet0RTTSealerCall
- type MockCryptoSetupGet1RTTOpenerCall
- func (c *MockCryptoSetupGet1RTTOpenerCall) Do(f func() (handshake.ShortHeaderOpener, error)) *MockCryptoSetupGet1RTTOpenerCall
- func (c *MockCryptoSetupGet1RTTOpenerCall) DoAndReturn(f func() (handshake.ShortHeaderOpener, error)) *MockCryptoSetupGet1RTTOpenerCall
- func (c *MockCryptoSetupGet1RTTOpenerCall) Return(arg0 handshake.ShortHeaderOpener, arg1 error) *MockCryptoSetupGet1RTTOpenerCall
- type MockCryptoSetupGet1RTTSealerCall
- func (c *MockCryptoSetupGet1RTTSealerCall) Do(f func() (handshake.ShortHeaderSealer, error)) *MockCryptoSetupGet1RTTSealerCall
- func (c *MockCryptoSetupGet1RTTSealerCall) DoAndReturn(f func() (handshake.ShortHeaderSealer, error)) *MockCryptoSetupGet1RTTSealerCall
- func (c *MockCryptoSetupGet1RTTSealerCall) Return(arg0 handshake.ShortHeaderSealer, arg1 error) *MockCryptoSetupGet1RTTSealerCall
- type MockCryptoSetupGetHandshakeOpenerCall
- func (c *MockCryptoSetupGetHandshakeOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGetHandshakeOpenerCall
- func (c *MockCryptoSetupGetHandshakeOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGetHandshakeOpenerCall
- func (c *MockCryptoSetupGetHandshakeOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *MockCryptoSetupGetHandshakeOpenerCall
- type MockCryptoSetupGetHandshakeSealerCall
- func (c *MockCryptoSetupGetHandshakeSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGetHandshakeSealerCall
- func (c *MockCryptoSetupGetHandshakeSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGetHandshakeSealerCall
- func (c *MockCryptoSetupGetHandshakeSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *MockCryptoSetupGetHandshakeSealerCall
- type MockCryptoSetupGetInitialOpenerCall
- func (c *MockCryptoSetupGetInitialOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGetInitialOpenerCall
- func (c *MockCryptoSetupGetInitialOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGetInitialOpenerCall
- func (c *MockCryptoSetupGetInitialOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *MockCryptoSetupGetInitialOpenerCall
- type MockCryptoSetupGetInitialSealerCall
- func (c *MockCryptoSetupGetInitialSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGetInitialSealerCall
- func (c *MockCryptoSetupGetInitialSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGetInitialSealerCall
- func (c *MockCryptoSetupGetInitialSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *MockCryptoSetupGetInitialSealerCall
- type MockCryptoSetupGetSessionTicketCall
- func (c *MockCryptoSetupGetSessionTicketCall) Do(f func() ([]byte, error)) *MockCryptoSetupGetSessionTicketCall
- func (c *MockCryptoSetupGetSessionTicketCall) DoAndReturn(f func() ([]byte, error)) *MockCryptoSetupGetSessionTicketCall
- func (c *MockCryptoSetupGetSessionTicketCall) Return(arg0 []byte, arg1 error) *MockCryptoSetupGetSessionTicketCall
- type MockCryptoSetupHandleMessageCall
- func (c *MockCryptoSetupHandleMessageCall) Do(f func([]byte, protocol.EncryptionLevel) error) *MockCryptoSetupHandleMessageCall
- func (c *MockCryptoSetupHandleMessageCall) DoAndReturn(f func([]byte, protocol.EncryptionLevel) error) *MockCryptoSetupHandleMessageCall
- func (c *MockCryptoSetupHandleMessageCall) Return(arg0 error) *MockCryptoSetupHandleMessageCall
- type MockCryptoSetupMockRecorder
- func (mr *MockCryptoSetupMockRecorder) ChangeConnectionID(arg0 any) *MockCryptoSetupChangeConnectionIDCall
- func (mr *MockCryptoSetupMockRecorder) Close() *MockCryptoSetupCloseCall
- func (mr *MockCryptoSetupMockRecorder) ConnectionState() *MockCryptoSetupConnectionStateCall
- func (mr *MockCryptoSetupMockRecorder) DiscardInitialKeys() *MockCryptoSetupDiscardInitialKeysCall
- func (mr *MockCryptoSetupMockRecorder) Get0RTTOpener() *MockCryptoSetupGet0RTTOpenerCall
- func (mr *MockCryptoSetupMockRecorder) Get0RTTSealer() *MockCryptoSetupGet0RTTSealerCall
- func (mr *MockCryptoSetupMockRecorder) Get1RTTOpener() *MockCryptoSetupGet1RTTOpenerCall
- func (mr *MockCryptoSetupMockRecorder) Get1RTTSealer() *MockCryptoSetupGet1RTTSealerCall
- func (mr *MockCryptoSetupMockRecorder) GetHandshakeOpener() *MockCryptoSetupGetHandshakeOpenerCall
- func (mr *MockCryptoSetupMockRecorder) GetHandshakeSealer() *MockCryptoSetupGetHandshakeSealerCall
- func (mr *MockCryptoSetupMockRecorder) GetInitialOpener() *MockCryptoSetupGetInitialOpenerCall
- func (mr *MockCryptoSetupMockRecorder) GetInitialSealer() *MockCryptoSetupGetInitialSealerCall
- func (mr *MockCryptoSetupMockRecorder) GetSessionTicket() *MockCryptoSetupGetSessionTicketCall
- func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 any) *MockCryptoSetupHandleMessageCall
- func (mr *MockCryptoSetupMockRecorder) NextEvent() *MockCryptoSetupNextEventCall
- func (mr *MockCryptoSetupMockRecorder) SetHandshakeConfirmed() *MockCryptoSetupSetHandshakeConfirmedCall
- func (mr *MockCryptoSetupMockRecorder) SetLargest1RTTAcked(arg0 any) *MockCryptoSetupSetLargest1RTTAckedCall
- func (mr *MockCryptoSetupMockRecorder) StartHandshake() *MockCryptoSetupStartHandshakeCall
- type MockCryptoSetupNextEventCall
- func (c *MockCryptoSetupNextEventCall) Do(f func() handshake.Event) *MockCryptoSetupNextEventCall
- func (c *MockCryptoSetupNextEventCall) DoAndReturn(f func() handshake.Event) *MockCryptoSetupNextEventCall
- func (c *MockCryptoSetupNextEventCall) Return(arg0 handshake.Event) *MockCryptoSetupNextEventCall
- type MockCryptoSetupSetHandshakeConfirmedCall
- func (c *MockCryptoSetupSetHandshakeConfirmedCall) Do(f func()) *MockCryptoSetupSetHandshakeConfirmedCall
- func (c *MockCryptoSetupSetHandshakeConfirmedCall) DoAndReturn(f func()) *MockCryptoSetupSetHandshakeConfirmedCall
- func (c *MockCryptoSetupSetHandshakeConfirmedCall) Return() *MockCryptoSetupSetHandshakeConfirmedCall
- type MockCryptoSetupSetLargest1RTTAckedCall
- func (c *MockCryptoSetupSetLargest1RTTAckedCall) Do(f func(protocol.PacketNumber) error) *MockCryptoSetupSetLargest1RTTAckedCall
- func (c *MockCryptoSetupSetLargest1RTTAckedCall) DoAndReturn(f func(protocol.PacketNumber) error) *MockCryptoSetupSetLargest1RTTAckedCall
- func (c *MockCryptoSetupSetLargest1RTTAckedCall) Return(arg0 error) *MockCryptoSetupSetLargest1RTTAckedCall
- type MockCryptoSetupStartHandshakeCall
- func (c *MockCryptoSetupStartHandshakeCall) Do(f func() error) *MockCryptoSetupStartHandshakeCall
- func (c *MockCryptoSetupStartHandshakeCall) DoAndReturn(f func() error) *MockCryptoSetupStartHandshakeCall
- func (c *MockCryptoSetupStartHandshakeCall) Return(arg0 error) *MockCryptoSetupStartHandshakeCall
- type MockLongHeaderOpener
- func (m *MockLongHeaderOpener) DecodePacketNumber(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) protocol.PacketNumber
- func (m *MockLongHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
- func (m *MockLongHeaderOpener) EXPECT() *MockLongHeaderOpenerMockRecorder
- func (m *MockLongHeaderOpener) Open(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) ([]byte, error)
- type MockLongHeaderOpenerDecodePacketNumberCall
- func (c *MockLongHeaderOpenerDecodePacketNumberCall) Do(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *MockLongHeaderOpenerDecodePacketNumberCall
- func (c *MockLongHeaderOpenerDecodePacketNumberCall) DoAndReturn(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *MockLongHeaderOpenerDecodePacketNumberCall
- func (c *MockLongHeaderOpenerDecodePacketNumberCall) Return(arg0 protocol.PacketNumber) *MockLongHeaderOpenerDecodePacketNumberCall
- type MockLongHeaderOpenerDecryptHeaderCall
- func (c *MockLongHeaderOpenerDecryptHeaderCall) Do(f func([]byte, *byte, []byte)) *MockLongHeaderOpenerDecryptHeaderCall
- func (c *MockLongHeaderOpenerDecryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *MockLongHeaderOpenerDecryptHeaderCall
- func (c *MockLongHeaderOpenerDecryptHeaderCall) Return() *MockLongHeaderOpenerDecryptHeaderCall
- type MockLongHeaderOpenerMockRecorder
- func (mr *MockLongHeaderOpenerMockRecorder) DecodePacketNumber(arg0, arg1 any) *MockLongHeaderOpenerDecodePacketNumberCall
- func (mr *MockLongHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *MockLongHeaderOpenerDecryptHeaderCall
- func (mr *MockLongHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 any) *MockLongHeaderOpenerOpenCall
- type MockLongHeaderOpenerOpenCall
- func (c *MockLongHeaderOpenerOpenCall) Do(f func([]byte, []byte, protocol.PacketNumber, []byte) ([]byte, error)) *MockLongHeaderOpenerOpenCall
- func (c *MockLongHeaderOpenerOpenCall) DoAndReturn(f func([]byte, []byte, protocol.PacketNumber, []byte) ([]byte, error)) *MockLongHeaderOpenerOpenCall
- func (c *MockLongHeaderOpenerOpenCall) Return(arg0 []byte, arg1 error) *MockLongHeaderOpenerOpenCall
- type MockSendAlgorithmWithDebugInfos
- func (m *MockSendAlgorithmWithDebugInfos) CanSend(arg0 protocol.ByteCount) bool
- func (m *MockSendAlgorithmWithDebugInfos) EXPECT() *MockSendAlgorithmWithDebugInfosMockRecorder
- func (m *MockSendAlgorithmWithDebugInfos) GetCongestionWindow() protocol.ByteCount
- func (m *MockSendAlgorithmWithDebugInfos) HasPacingBudget(arg0 time.Time) bool
- func (m *MockSendAlgorithmWithDebugInfos) InRecovery() bool
- func (m *MockSendAlgorithmWithDebugInfos) InSlowStart() bool
- func (m *MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart()
- func (m *MockSendAlgorithmWithDebugInfos) OnCongestionEvent(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)
- func (m *MockSendAlgorithmWithDebugInfos) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)
- func (m *MockSendAlgorithmWithDebugInfos) OnPacketSent(arg0 time.Time, arg1 protocol.ByteCount, arg2 protocol.PacketNumber, ...)
- func (m *MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout(arg0 bool)
- func (m *MockSendAlgorithmWithDebugInfos) SetMaxDatagramSize(arg0 protocol.ByteCount)
- func (m *MockSendAlgorithmWithDebugInfos) TimeUntilSend(arg0 protocol.ByteCount) time.Time
- type MockSendAlgorithmWithDebugInfosCanSendCall
- func (c *MockSendAlgorithmWithDebugInfosCanSendCall) Do(f func(protocol.ByteCount) bool) *MockSendAlgorithmWithDebugInfosCanSendCall
- func (c *MockSendAlgorithmWithDebugInfosCanSendCall) DoAndReturn(f func(protocol.ByteCount) bool) *MockSendAlgorithmWithDebugInfosCanSendCall
- func (c *MockSendAlgorithmWithDebugInfosCanSendCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosCanSendCall
- type MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
- func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Do(f func() protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
- func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn(f func() protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
- func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Return(arg0 protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
- type MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
- func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Do(f func(time.Time) bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
- func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn(f func(time.Time) bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
- func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
- type MockSendAlgorithmWithDebugInfosInRecoveryCall
- func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) Do(f func() bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall
- func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn(f func() bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall
- func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall
- type MockSendAlgorithmWithDebugInfosInSlowStartCall
- func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) Do(f func() bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall
- func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn(f func() bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall
- func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall
- type MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do(f func()) *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn(f func()) *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return() *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- type MockSendAlgorithmWithDebugInfosMockRecorder
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) CanSend(arg0 any) *MockSendAlgorithmWithDebugInfosCanSendCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow() *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget(arg0 any) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery() *MockSendAlgorithmWithDebugInfosInRecoveryCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart() *MockSendAlgorithmWithDebugInfosInSlowStartCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart() *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent(arg0, arg1, arg2 any) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 any) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 any) *MockSendAlgorithmWithDebugInfosOnPacketSentCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout(arg0 any) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize(arg0 any) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend(arg0 any) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall
- type MockSendAlgorithmWithDebugInfosOnCongestionEventCall
- func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Do(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall
- func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall
- func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Return() *MockSendAlgorithmWithDebugInfosOnCongestionEventCall
- type MockSendAlgorithmWithDebugInfosOnPacketAckedCall
- func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Do(...) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall
- func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn(...) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall
- func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Return() *MockSendAlgorithmWithDebugInfosOnPacketAckedCall
- type MockSendAlgorithmWithDebugInfosOnPacketSentCall
- func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) Do(...) *MockSendAlgorithmWithDebugInfosOnPacketSentCall
- func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn(...) *MockSendAlgorithmWithDebugInfosOnPacketSentCall
- func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) Return() *MockSendAlgorithmWithDebugInfosOnPacketSentCall
- type MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do(f func(bool)) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn(f func(bool)) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return() *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- type MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return() *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- type MockSendAlgorithmWithDebugInfosTimeUntilSendCall
- func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Do(f func(protocol.ByteCount) time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall
- func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn(f func(protocol.ByteCount) time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall
- func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Return(arg0 time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall
- type MockShortHeaderOpener
- func (m *MockShortHeaderOpener) DecodePacketNumber(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) protocol.PacketNumber
- func (m *MockShortHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
- func (m *MockShortHeaderOpener) EXPECT() *MockShortHeaderOpenerMockRecorder
- func (m *MockShortHeaderOpener) Open(arg0, arg1 []byte, arg2 time.Time, arg3 protocol.PacketNumber, ...) ([]byte, error)
- type MockShortHeaderOpenerDecodePacketNumberCall
- func (c *MockShortHeaderOpenerDecodePacketNumberCall) Do(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *MockShortHeaderOpenerDecodePacketNumberCall
- func (c *MockShortHeaderOpenerDecodePacketNumberCall) DoAndReturn(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *MockShortHeaderOpenerDecodePacketNumberCall
- func (c *MockShortHeaderOpenerDecodePacketNumberCall) Return(arg0 protocol.PacketNumber) *MockShortHeaderOpenerDecodePacketNumberCall
- type MockShortHeaderOpenerDecryptHeaderCall
- func (c *MockShortHeaderOpenerDecryptHeaderCall) Do(f func([]byte, *byte, []byte)) *MockShortHeaderOpenerDecryptHeaderCall
- func (c *MockShortHeaderOpenerDecryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *MockShortHeaderOpenerDecryptHeaderCall
- func (c *MockShortHeaderOpenerDecryptHeaderCall) Return() *MockShortHeaderOpenerDecryptHeaderCall
- type MockShortHeaderOpenerMockRecorder
- func (mr *MockShortHeaderOpenerMockRecorder) DecodePacketNumber(arg0, arg1 any) *MockShortHeaderOpenerDecodePacketNumberCall
- func (mr *MockShortHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *MockShortHeaderOpenerDecryptHeaderCall
- func (mr *MockShortHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockShortHeaderOpenerOpenCall
- type MockShortHeaderOpenerOpenCall
- type MockShortHeaderSealer
- func (m *MockShortHeaderSealer) EXPECT() *MockShortHeaderSealerMockRecorder
- func (m *MockShortHeaderSealer) EncryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
- func (m *MockShortHeaderSealer) KeyPhase() protocol.KeyPhaseBit
- func (m *MockShortHeaderSealer) Overhead() int
- func (m *MockShortHeaderSealer) Seal(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) []byte
- type MockShortHeaderSealerEncryptHeaderCall
- func (c *MockShortHeaderSealerEncryptHeaderCall) Do(f func([]byte, *byte, []byte)) *MockShortHeaderSealerEncryptHeaderCall
- func (c *MockShortHeaderSealerEncryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *MockShortHeaderSealerEncryptHeaderCall
- func (c *MockShortHeaderSealerEncryptHeaderCall) Return() *MockShortHeaderSealerEncryptHeaderCall
- type MockShortHeaderSealerKeyPhaseCall
- func (c *MockShortHeaderSealerKeyPhaseCall) Do(f func() protocol.KeyPhaseBit) *MockShortHeaderSealerKeyPhaseCall
- func (c *MockShortHeaderSealerKeyPhaseCall) DoAndReturn(f func() protocol.KeyPhaseBit) *MockShortHeaderSealerKeyPhaseCall
- func (c *MockShortHeaderSealerKeyPhaseCall) Return(arg0 protocol.KeyPhaseBit) *MockShortHeaderSealerKeyPhaseCall
- type MockShortHeaderSealerMockRecorder
- func (mr *MockShortHeaderSealerMockRecorder) EncryptHeader(arg0, arg1, arg2 any) *MockShortHeaderSealerEncryptHeaderCall
- func (mr *MockShortHeaderSealerMockRecorder) KeyPhase() *MockShortHeaderSealerKeyPhaseCall
- func (mr *MockShortHeaderSealerMockRecorder) Overhead() *MockShortHeaderSealerOverheadCall
- func (mr *MockShortHeaderSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 any) *MockShortHeaderSealerSealCall
- type MockShortHeaderSealerOverheadCall
- type MockShortHeaderSealerSealCall
- func (c *MockShortHeaderSealerSealCall) Do(f func([]byte, []byte, protocol.PacketNumber, []byte) []byte) *MockShortHeaderSealerSealCall
- func (c *MockShortHeaderSealerSealCall) DoAndReturn(f func([]byte, []byte, protocol.PacketNumber, []byte) []byte) *MockShortHeaderSealerSealCall
- func (c *MockShortHeaderSealerSealCall) Return(arg0 []byte) *MockShortHeaderSealerSealCall
- type MockStreamFlowController
- func (m *MockStreamFlowController) Abandon()
- func (m *MockStreamFlowController) AddBytesRead(arg0 protocol.ByteCount)
- func (m *MockStreamFlowController) AddBytesSent(arg0 protocol.ByteCount)
- func (m *MockStreamFlowController) EXPECT() *MockStreamFlowControllerMockRecorder
- func (m *MockStreamFlowController) GetWindowUpdate() protocol.ByteCount
- func (m *MockStreamFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
- func (m *MockStreamFlowController) SendWindowSize() protocol.ByteCount
- func (m *MockStreamFlowController) UpdateHighestReceived(arg0 protocol.ByteCount, arg1 bool) error
- func (m *MockStreamFlowController) UpdateSendWindow(arg0 protocol.ByteCount) bool
- type MockStreamFlowControllerAbandonCall
- type MockStreamFlowControllerAddBytesReadCall
- func (c *MockStreamFlowControllerAddBytesReadCall) Do(f func(protocol.ByteCount)) *MockStreamFlowControllerAddBytesReadCall
- func (c *MockStreamFlowControllerAddBytesReadCall) DoAndReturn(f func(protocol.ByteCount)) *MockStreamFlowControllerAddBytesReadCall
- func (c *MockStreamFlowControllerAddBytesReadCall) Return() *MockStreamFlowControllerAddBytesReadCall
- type MockStreamFlowControllerAddBytesSentCall
- func (c *MockStreamFlowControllerAddBytesSentCall) Do(f func(protocol.ByteCount)) *MockStreamFlowControllerAddBytesSentCall
- func (c *MockStreamFlowControllerAddBytesSentCall) DoAndReturn(f func(protocol.ByteCount)) *MockStreamFlowControllerAddBytesSentCall
- func (c *MockStreamFlowControllerAddBytesSentCall) Return() *MockStreamFlowControllerAddBytesSentCall
- type MockStreamFlowControllerGetWindowUpdateCall
- func (c *MockStreamFlowControllerGetWindowUpdateCall) Do(f func() protocol.ByteCount) *MockStreamFlowControllerGetWindowUpdateCall
- func (c *MockStreamFlowControllerGetWindowUpdateCall) DoAndReturn(f func() protocol.ByteCount) *MockStreamFlowControllerGetWindowUpdateCall
- func (c *MockStreamFlowControllerGetWindowUpdateCall) Return(arg0 protocol.ByteCount) *MockStreamFlowControllerGetWindowUpdateCall
- type MockStreamFlowControllerIsNewlyBlockedCall
- func (c *MockStreamFlowControllerIsNewlyBlockedCall) Do(f func() (bool, protocol.ByteCount)) *MockStreamFlowControllerIsNewlyBlockedCall
- func (c *MockStreamFlowControllerIsNewlyBlockedCall) DoAndReturn(f func() (bool, protocol.ByteCount)) *MockStreamFlowControllerIsNewlyBlockedCall
- func (c *MockStreamFlowControllerIsNewlyBlockedCall) Return(arg0 bool, arg1 protocol.ByteCount) *MockStreamFlowControllerIsNewlyBlockedCall
- type MockStreamFlowControllerMockRecorder
- func (mr *MockStreamFlowControllerMockRecorder) Abandon() *MockStreamFlowControllerAbandonCall
- func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 any) *MockStreamFlowControllerAddBytesReadCall
- func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 any) *MockStreamFlowControllerAddBytesSentCall
- func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *MockStreamFlowControllerGetWindowUpdateCall
- func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *MockStreamFlowControllerIsNewlyBlockedCall
- func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *MockStreamFlowControllerSendWindowSizeCall
- func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 any) *MockStreamFlowControllerUpdateHighestReceivedCall
- func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 any) *MockStreamFlowControllerUpdateSendWindowCall
- type MockStreamFlowControllerSendWindowSizeCall
- func (c *MockStreamFlowControllerSendWindowSizeCall) Do(f func() protocol.ByteCount) *MockStreamFlowControllerSendWindowSizeCall
- func (c *MockStreamFlowControllerSendWindowSizeCall) DoAndReturn(f func() protocol.ByteCount) *MockStreamFlowControllerSendWindowSizeCall
- func (c *MockStreamFlowControllerSendWindowSizeCall) Return(arg0 protocol.ByteCount) *MockStreamFlowControllerSendWindowSizeCall
- type MockStreamFlowControllerUpdateHighestReceivedCall
- func (c *MockStreamFlowControllerUpdateHighestReceivedCall) Do(f func(protocol.ByteCount, bool) error) *MockStreamFlowControllerUpdateHighestReceivedCall
- func (c *MockStreamFlowControllerUpdateHighestReceivedCall) DoAndReturn(f func(protocol.ByteCount, bool) error) *MockStreamFlowControllerUpdateHighestReceivedCall
- func (c *MockStreamFlowControllerUpdateHighestReceivedCall) Return(arg0 error) *MockStreamFlowControllerUpdateHighestReceivedCall
- type MockStreamFlowControllerUpdateSendWindowCall
- func (c *MockStreamFlowControllerUpdateSendWindowCall) Do(f func(protocol.ByteCount) bool) *MockStreamFlowControllerUpdateSendWindowCall
- func (c *MockStreamFlowControllerUpdateSendWindowCall) DoAndReturn(f func(protocol.ByteCount) bool) *MockStreamFlowControllerUpdateSendWindowCall
- func (c *MockStreamFlowControllerUpdateSendWindowCall) Return(arg0 bool) *MockStreamFlowControllerUpdateSendWindowCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnectionFlowController ¶
type MockConnectionFlowController struct {
// contains filtered or unexported fields
}
MockConnectionFlowController is a mock of ConnectionFlowController interface.
func NewMockConnectionFlowController ¶
func NewMockConnectionFlowController(ctrl *gomock.Controller) *MockConnectionFlowController
NewMockConnectionFlowController creates a new mock instance.
func (*MockConnectionFlowController) AddBytesRead ¶
func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)
AddBytesRead mocks base method.
func (*MockConnectionFlowController) AddBytesSent ¶
func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)
AddBytesSent mocks base method.
func (*MockConnectionFlowController) EXPECT ¶
func (m *MockConnectionFlowController) EXPECT() *MockConnectionFlowControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnectionFlowController) GetWindowUpdate ¶
func (m *MockConnectionFlowController) GetWindowUpdate() protocol.ByteCount
GetWindowUpdate mocks base method.
func (*MockConnectionFlowController) IsNewlyBlocked ¶ added in v0.7.0
func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
IsNewlyBlocked mocks base method.
func (*MockConnectionFlowController) Reset ¶ added in v0.32.0
func (m *MockConnectionFlowController) Reset() error
Reset mocks base method.
func (*MockConnectionFlowController) SendWindowSize ¶
func (m *MockConnectionFlowController) SendWindowSize() protocol.ByteCount
SendWindowSize mocks base method.
func (*MockConnectionFlowController) UpdateSendWindow ¶
func (m *MockConnectionFlowController) UpdateSendWindow(arg0 protocol.ByteCount) bool
UpdateSendWindow mocks base method.
type MockConnectionFlowControllerAddBytesReadCall ¶ added in v0.42.0
MockConnectionFlowControllerAddBytesReadCall wrap *gomock.Call
func (*MockConnectionFlowControllerAddBytesReadCall) Do ¶ added in v0.42.0
func (c *MockConnectionFlowControllerAddBytesReadCall) Do(f func(protocol.ByteCount)) *MockConnectionFlowControllerAddBytesReadCall
Do rewrite *gomock.Call.Do
func (*MockConnectionFlowControllerAddBytesReadCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionFlowControllerAddBytesReadCall) DoAndReturn(f func(protocol.ByteCount)) *MockConnectionFlowControllerAddBytesReadCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionFlowControllerAddBytesReadCall) Return ¶ added in v0.42.0
func (c *MockConnectionFlowControllerAddBytesReadCall) Return() *MockConnectionFlowControllerAddBytesReadCall
Return rewrite *gomock.Call.Return
type MockConnectionFlowControllerAddBytesSentCall ¶ added in v0.42.0
MockConnectionFlowControllerAddBytesSentCall wrap *gomock.Call
func (*MockConnectionFlowControllerAddBytesSentCall) Do ¶ added in v0.42.0
func (c *MockConnectionFlowControllerAddBytesSentCall) Do(f func(protocol.ByteCount)) *MockConnectionFlowControllerAddBytesSentCall
Do rewrite *gomock.Call.Do
func (*MockConnectionFlowControllerAddBytesSentCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionFlowControllerAddBytesSentCall) DoAndReturn(f func(protocol.ByteCount)) *MockConnectionFlowControllerAddBytesSentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionFlowControllerAddBytesSentCall) Return ¶ added in v0.42.0
func (c *MockConnectionFlowControllerAddBytesSentCall) Return() *MockConnectionFlowControllerAddBytesSentCall
Return rewrite *gomock.Call.Return
type MockConnectionFlowControllerGetWindowUpdateCall ¶ added in v0.42.0
MockConnectionFlowControllerGetWindowUpdateCall wrap *gomock.Call
func (*MockConnectionFlowControllerGetWindowUpdateCall) Do ¶ added in v0.42.0
func (c *MockConnectionFlowControllerGetWindowUpdateCall) Do(f func() protocol.ByteCount) *MockConnectionFlowControllerGetWindowUpdateCall
Do rewrite *gomock.Call.Do
func (*MockConnectionFlowControllerGetWindowUpdateCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionFlowControllerGetWindowUpdateCall) DoAndReturn(f func() protocol.ByteCount) *MockConnectionFlowControllerGetWindowUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionFlowControllerGetWindowUpdateCall) Return ¶ added in v0.42.0
func (c *MockConnectionFlowControllerGetWindowUpdateCall) Return(arg0 protocol.ByteCount) *MockConnectionFlowControllerGetWindowUpdateCall
Return rewrite *gomock.Call.Return
type MockConnectionFlowControllerIsNewlyBlockedCall ¶ added in v0.42.0
MockConnectionFlowControllerIsNewlyBlockedCall wrap *gomock.Call
func (*MockConnectionFlowControllerIsNewlyBlockedCall) Do ¶ added in v0.42.0
func (c *MockConnectionFlowControllerIsNewlyBlockedCall) Do(f func() (bool, protocol.ByteCount)) *MockConnectionFlowControllerIsNewlyBlockedCall
Do rewrite *gomock.Call.Do
func (*MockConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn(f func() (bool, protocol.ByteCount)) *MockConnectionFlowControllerIsNewlyBlockedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionFlowControllerIsNewlyBlockedCall) Return ¶ added in v0.42.0
func (c *MockConnectionFlowControllerIsNewlyBlockedCall) Return(arg0 bool, arg1 protocol.ByteCount) *MockConnectionFlowControllerIsNewlyBlockedCall
Return rewrite *gomock.Call.Return
type MockConnectionFlowControllerMockRecorder ¶
type MockConnectionFlowControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionFlowControllerMockRecorder is the mock recorder for MockConnectionFlowController.
func (*MockConnectionFlowControllerMockRecorder) AddBytesRead ¶
func (mr *MockConnectionFlowControllerMockRecorder) AddBytesRead(arg0 any) *MockConnectionFlowControllerAddBytesReadCall
AddBytesRead indicates an expected call of AddBytesRead.
func (*MockConnectionFlowControllerMockRecorder) AddBytesSent ¶
func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 any) *MockConnectionFlowControllerAddBytesSentCall
AddBytesSent indicates an expected call of AddBytesSent.
func (*MockConnectionFlowControllerMockRecorder) GetWindowUpdate ¶
func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *MockConnectionFlowControllerGetWindowUpdateCall
GetWindowUpdate indicates an expected call of GetWindowUpdate.
func (*MockConnectionFlowControllerMockRecorder) IsNewlyBlocked ¶ added in v0.7.0
func (mr *MockConnectionFlowControllerMockRecorder) IsNewlyBlocked() *MockConnectionFlowControllerIsNewlyBlockedCall
IsNewlyBlocked indicates an expected call of IsNewlyBlocked.
func (*MockConnectionFlowControllerMockRecorder) Reset ¶ added in v0.32.0
func (mr *MockConnectionFlowControllerMockRecorder) Reset() *MockConnectionFlowControllerResetCall
Reset indicates an expected call of Reset.
func (*MockConnectionFlowControllerMockRecorder) SendWindowSize ¶
func (mr *MockConnectionFlowControllerMockRecorder) SendWindowSize() *MockConnectionFlowControllerSendWindowSizeCall
SendWindowSize indicates an expected call of SendWindowSize.
func (*MockConnectionFlowControllerMockRecorder) UpdateSendWindow ¶
func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 any) *MockConnectionFlowControllerUpdateSendWindowCall
UpdateSendWindow indicates an expected call of UpdateSendWindow.
type MockConnectionFlowControllerResetCall ¶ added in v0.42.0
MockConnectionFlowControllerResetCall wrap *gomock.Call
func (*MockConnectionFlowControllerResetCall) Do ¶ added in v0.42.0
func (c *MockConnectionFlowControllerResetCall) Do(f func() error) *MockConnectionFlowControllerResetCall
Do rewrite *gomock.Call.Do
func (*MockConnectionFlowControllerResetCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionFlowControllerResetCall) DoAndReturn(f func() error) *MockConnectionFlowControllerResetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionFlowControllerResetCall) Return ¶ added in v0.42.0
func (c *MockConnectionFlowControllerResetCall) Return(arg0 error) *MockConnectionFlowControllerResetCall
Return rewrite *gomock.Call.Return
type MockConnectionFlowControllerSendWindowSizeCall ¶ added in v0.42.0
MockConnectionFlowControllerSendWindowSizeCall wrap *gomock.Call
func (*MockConnectionFlowControllerSendWindowSizeCall) Do ¶ added in v0.42.0
func (c *MockConnectionFlowControllerSendWindowSizeCall) Do(f func() protocol.ByteCount) *MockConnectionFlowControllerSendWindowSizeCall
Do rewrite *gomock.Call.Do
func (*MockConnectionFlowControllerSendWindowSizeCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionFlowControllerSendWindowSizeCall) DoAndReturn(f func() protocol.ByteCount) *MockConnectionFlowControllerSendWindowSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionFlowControllerSendWindowSizeCall) Return ¶ added in v0.42.0
func (c *MockConnectionFlowControllerSendWindowSizeCall) Return(arg0 protocol.ByteCount) *MockConnectionFlowControllerSendWindowSizeCall
Return rewrite *gomock.Call.Return
type MockConnectionFlowControllerUpdateSendWindowCall ¶ added in v0.42.0
MockConnectionFlowControllerUpdateSendWindowCall wrap *gomock.Call
func (*MockConnectionFlowControllerUpdateSendWindowCall) Do ¶ added in v0.42.0
func (c *MockConnectionFlowControllerUpdateSendWindowCall) Do(f func(protocol.ByteCount) bool) *MockConnectionFlowControllerUpdateSendWindowCall
Do rewrite *gomock.Call.Do
func (*MockConnectionFlowControllerUpdateSendWindowCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionFlowControllerUpdateSendWindowCall) DoAndReturn(f func(protocol.ByteCount) bool) *MockConnectionFlowControllerUpdateSendWindowCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionFlowControllerUpdateSendWindowCall) Return ¶ added in v0.42.0
func (c *MockConnectionFlowControllerUpdateSendWindowCall) Return(arg0 bool) *MockConnectionFlowControllerUpdateSendWindowCall
Return rewrite *gomock.Call.Return
type MockCryptoSetup ¶ added in v0.32.0
type MockCryptoSetup struct {
// contains filtered or unexported fields
}
MockCryptoSetup is a mock of CryptoSetup interface.
func NewMockCryptoSetup ¶ added in v0.32.0
func NewMockCryptoSetup(ctrl *gomock.Controller) *MockCryptoSetup
NewMockCryptoSetup creates a new mock instance.
func (*MockCryptoSetup) ChangeConnectionID ¶ added in v0.32.0
func (m *MockCryptoSetup) ChangeConnectionID(arg0 protocol.ConnectionID)
ChangeConnectionID mocks base method.
func (*MockCryptoSetup) Close ¶ added in v0.32.0
func (m *MockCryptoSetup) Close() error
Close mocks base method.
func (*MockCryptoSetup) ConnectionState ¶ added in v0.32.0
func (m *MockCryptoSetup) ConnectionState() handshake.ConnectionState
ConnectionState mocks base method.
func (*MockCryptoSetup) DiscardInitialKeys ¶ added in v0.37.0
func (m *MockCryptoSetup) DiscardInitialKeys()
DiscardInitialKeys mocks base method.
func (*MockCryptoSetup) EXPECT ¶ added in v0.32.0
func (m *MockCryptoSetup) EXPECT() *MockCryptoSetupMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCryptoSetup) Get0RTTOpener ¶ added in v0.32.0
func (m *MockCryptoSetup) Get0RTTOpener() (handshake.LongHeaderOpener, error)
Get0RTTOpener mocks base method.
func (*MockCryptoSetup) Get0RTTSealer ¶ added in v0.32.0
func (m *MockCryptoSetup) Get0RTTSealer() (handshake.LongHeaderSealer, error)
Get0RTTSealer mocks base method.
func (*MockCryptoSetup) Get1RTTOpener ¶ added in v0.32.0
func (m *MockCryptoSetup) Get1RTTOpener() (handshake.ShortHeaderOpener, error)
Get1RTTOpener mocks base method.
func (*MockCryptoSetup) Get1RTTSealer ¶ added in v0.32.0
func (m *MockCryptoSetup) Get1RTTSealer() (handshake.ShortHeaderSealer, error)
Get1RTTSealer mocks base method.
func (*MockCryptoSetup) GetHandshakeOpener ¶ added in v0.32.0
func (m *MockCryptoSetup) GetHandshakeOpener() (handshake.LongHeaderOpener, error)
GetHandshakeOpener mocks base method.
func (*MockCryptoSetup) GetHandshakeSealer ¶ added in v0.32.0
func (m *MockCryptoSetup) GetHandshakeSealer() (handshake.LongHeaderSealer, error)
GetHandshakeSealer mocks base method.
func (*MockCryptoSetup) GetInitialOpener ¶ added in v0.32.0
func (m *MockCryptoSetup) GetInitialOpener() (handshake.LongHeaderOpener, error)
GetInitialOpener mocks base method.
func (*MockCryptoSetup) GetInitialSealer ¶ added in v0.32.0
func (m *MockCryptoSetup) GetInitialSealer() (handshake.LongHeaderSealer, error)
GetInitialSealer mocks base method.
func (*MockCryptoSetup) GetSessionTicket ¶ added in v0.32.0
func (m *MockCryptoSetup) GetSessionTicket() ([]byte, error)
GetSessionTicket mocks base method.
func (*MockCryptoSetup) HandleMessage ¶ added in v0.32.0
func (m *MockCryptoSetup) HandleMessage(arg0 []byte, arg1 protocol.EncryptionLevel) error
HandleMessage mocks base method.
func (*MockCryptoSetup) NextEvent ¶ added in v0.37.0
func (m *MockCryptoSetup) NextEvent() handshake.Event
NextEvent mocks base method.
func (*MockCryptoSetup) SetHandshakeConfirmed ¶ added in v0.32.0
func (m *MockCryptoSetup) SetHandshakeConfirmed()
SetHandshakeConfirmed mocks base method.
func (*MockCryptoSetup) SetLargest1RTTAcked ¶ added in v0.32.0
func (m *MockCryptoSetup) SetLargest1RTTAcked(arg0 protocol.PacketNumber) error
SetLargest1RTTAcked mocks base method.
func (*MockCryptoSetup) StartHandshake ¶ added in v0.37.0
func (m *MockCryptoSetup) StartHandshake() error
StartHandshake mocks base method.
type MockCryptoSetupChangeConnectionIDCall ¶ added in v0.42.0
MockCryptoSetupChangeConnectionIDCall wrap *gomock.Call
func (*MockCryptoSetupChangeConnectionIDCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupChangeConnectionIDCall) Do(f func(protocol.ConnectionID)) *MockCryptoSetupChangeConnectionIDCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupChangeConnectionIDCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupChangeConnectionIDCall) DoAndReturn(f func(protocol.ConnectionID)) *MockCryptoSetupChangeConnectionIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupChangeConnectionIDCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupChangeConnectionIDCall) Return() *MockCryptoSetupChangeConnectionIDCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupCloseCall ¶ added in v0.42.0
MockCryptoSetupCloseCall wrap *gomock.Call
func (*MockCryptoSetupCloseCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupCloseCall) Do(f func() error) *MockCryptoSetupCloseCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupCloseCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupCloseCall) DoAndReturn(f func() error) *MockCryptoSetupCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupCloseCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupCloseCall) Return(arg0 error) *MockCryptoSetupCloseCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupConnectionStateCall ¶ added in v0.42.0
MockCryptoSetupConnectionStateCall wrap *gomock.Call
func (*MockCryptoSetupConnectionStateCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupConnectionStateCall) Do(f func() handshake.ConnectionState) *MockCryptoSetupConnectionStateCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupConnectionStateCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupConnectionStateCall) DoAndReturn(f func() handshake.ConnectionState) *MockCryptoSetupConnectionStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupConnectionStateCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupConnectionStateCall) Return(arg0 handshake.ConnectionState) *MockCryptoSetupConnectionStateCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupDiscardInitialKeysCall ¶ added in v0.42.0
MockCryptoSetupDiscardInitialKeysCall wrap *gomock.Call
func (*MockCryptoSetupDiscardInitialKeysCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupDiscardInitialKeysCall) Do(f func()) *MockCryptoSetupDiscardInitialKeysCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupDiscardInitialKeysCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupDiscardInitialKeysCall) DoAndReturn(f func()) *MockCryptoSetupDiscardInitialKeysCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupDiscardInitialKeysCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupDiscardInitialKeysCall) Return() *MockCryptoSetupDiscardInitialKeysCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGet0RTTOpenerCall ¶ added in v0.42.0
MockCryptoSetupGet0RTTOpenerCall wrap *gomock.Call
func (*MockCryptoSetupGet0RTTOpenerCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGet0RTTOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGet0RTTOpenerCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGet0RTTOpenerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGet0RTTOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGet0RTTOpenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGet0RTTOpenerCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGet0RTTOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *MockCryptoSetupGet0RTTOpenerCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGet0RTTSealerCall ¶ added in v0.42.0
MockCryptoSetupGet0RTTSealerCall wrap *gomock.Call
func (*MockCryptoSetupGet0RTTSealerCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGet0RTTSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGet0RTTSealerCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGet0RTTSealerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGet0RTTSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGet0RTTSealerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGet0RTTSealerCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGet0RTTSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *MockCryptoSetupGet0RTTSealerCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGet1RTTOpenerCall ¶ added in v0.42.0
MockCryptoSetupGet1RTTOpenerCall wrap *gomock.Call
func (*MockCryptoSetupGet1RTTOpenerCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGet1RTTOpenerCall) Do(f func() (handshake.ShortHeaderOpener, error)) *MockCryptoSetupGet1RTTOpenerCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGet1RTTOpenerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGet1RTTOpenerCall) DoAndReturn(f func() (handshake.ShortHeaderOpener, error)) *MockCryptoSetupGet1RTTOpenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGet1RTTOpenerCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGet1RTTOpenerCall) Return(arg0 handshake.ShortHeaderOpener, arg1 error) *MockCryptoSetupGet1RTTOpenerCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGet1RTTSealerCall ¶ added in v0.42.0
MockCryptoSetupGet1RTTSealerCall wrap *gomock.Call
func (*MockCryptoSetupGet1RTTSealerCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGet1RTTSealerCall) Do(f func() (handshake.ShortHeaderSealer, error)) *MockCryptoSetupGet1RTTSealerCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGet1RTTSealerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGet1RTTSealerCall) DoAndReturn(f func() (handshake.ShortHeaderSealer, error)) *MockCryptoSetupGet1RTTSealerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGet1RTTSealerCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGet1RTTSealerCall) Return(arg0 handshake.ShortHeaderSealer, arg1 error) *MockCryptoSetupGet1RTTSealerCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGetHandshakeOpenerCall ¶ added in v0.42.0
MockCryptoSetupGetHandshakeOpenerCall wrap *gomock.Call
func (*MockCryptoSetupGetHandshakeOpenerCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGetHandshakeOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGetHandshakeOpenerCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGetHandshakeOpenerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGetHandshakeOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGetHandshakeOpenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGetHandshakeOpenerCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGetHandshakeOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *MockCryptoSetupGetHandshakeOpenerCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGetHandshakeSealerCall ¶ added in v0.42.0
MockCryptoSetupGetHandshakeSealerCall wrap *gomock.Call
func (*MockCryptoSetupGetHandshakeSealerCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGetHandshakeSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGetHandshakeSealerCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGetHandshakeSealerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGetHandshakeSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGetHandshakeSealerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGetHandshakeSealerCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGetHandshakeSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *MockCryptoSetupGetHandshakeSealerCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGetInitialOpenerCall ¶ added in v0.42.0
MockCryptoSetupGetInitialOpenerCall wrap *gomock.Call
func (*MockCryptoSetupGetInitialOpenerCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGetInitialOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGetInitialOpenerCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGetInitialOpenerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGetInitialOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *MockCryptoSetupGetInitialOpenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGetInitialOpenerCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGetInitialOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *MockCryptoSetupGetInitialOpenerCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGetInitialSealerCall ¶ added in v0.42.0
MockCryptoSetupGetInitialSealerCall wrap *gomock.Call
func (*MockCryptoSetupGetInitialSealerCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGetInitialSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGetInitialSealerCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGetInitialSealerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGetInitialSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *MockCryptoSetupGetInitialSealerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGetInitialSealerCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGetInitialSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *MockCryptoSetupGetInitialSealerCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupGetSessionTicketCall ¶ added in v0.42.0
MockCryptoSetupGetSessionTicketCall wrap *gomock.Call
func (*MockCryptoSetupGetSessionTicketCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupGetSessionTicketCall) Do(f func() ([]byte, error)) *MockCryptoSetupGetSessionTicketCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupGetSessionTicketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupGetSessionTicketCall) DoAndReturn(f func() ([]byte, error)) *MockCryptoSetupGetSessionTicketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupGetSessionTicketCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupGetSessionTicketCall) Return(arg0 []byte, arg1 error) *MockCryptoSetupGetSessionTicketCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupHandleMessageCall ¶ added in v0.42.0
MockCryptoSetupHandleMessageCall wrap *gomock.Call
func (*MockCryptoSetupHandleMessageCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupHandleMessageCall) Do(f func([]byte, protocol.EncryptionLevel) error) *MockCryptoSetupHandleMessageCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupHandleMessageCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupHandleMessageCall) DoAndReturn(f func([]byte, protocol.EncryptionLevel) error) *MockCryptoSetupHandleMessageCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupHandleMessageCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupHandleMessageCall) Return(arg0 error) *MockCryptoSetupHandleMessageCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupMockRecorder ¶ added in v0.32.0
type MockCryptoSetupMockRecorder struct {
// contains filtered or unexported fields
}
MockCryptoSetupMockRecorder is the mock recorder for MockCryptoSetup.
func (*MockCryptoSetupMockRecorder) ChangeConnectionID ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) ChangeConnectionID(arg0 any) *MockCryptoSetupChangeConnectionIDCall
ChangeConnectionID indicates an expected call of ChangeConnectionID.
func (*MockCryptoSetupMockRecorder) Close ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) Close() *MockCryptoSetupCloseCall
Close indicates an expected call of Close.
func (*MockCryptoSetupMockRecorder) ConnectionState ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) ConnectionState() *MockCryptoSetupConnectionStateCall
ConnectionState indicates an expected call of ConnectionState.
func (*MockCryptoSetupMockRecorder) DiscardInitialKeys ¶ added in v0.37.0
func (mr *MockCryptoSetupMockRecorder) DiscardInitialKeys() *MockCryptoSetupDiscardInitialKeysCall
DiscardInitialKeys indicates an expected call of DiscardInitialKeys.
func (*MockCryptoSetupMockRecorder) Get0RTTOpener ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) Get0RTTOpener() *MockCryptoSetupGet0RTTOpenerCall
Get0RTTOpener indicates an expected call of Get0RTTOpener.
func (*MockCryptoSetupMockRecorder) Get0RTTSealer ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) Get0RTTSealer() *MockCryptoSetupGet0RTTSealerCall
Get0RTTSealer indicates an expected call of Get0RTTSealer.
func (*MockCryptoSetupMockRecorder) Get1RTTOpener ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) Get1RTTOpener() *MockCryptoSetupGet1RTTOpenerCall
Get1RTTOpener indicates an expected call of Get1RTTOpener.
func (*MockCryptoSetupMockRecorder) Get1RTTSealer ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) Get1RTTSealer() *MockCryptoSetupGet1RTTSealerCall
Get1RTTSealer indicates an expected call of Get1RTTSealer.
func (*MockCryptoSetupMockRecorder) GetHandshakeOpener ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) GetHandshakeOpener() *MockCryptoSetupGetHandshakeOpenerCall
GetHandshakeOpener indicates an expected call of GetHandshakeOpener.
func (*MockCryptoSetupMockRecorder) GetHandshakeSealer ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) GetHandshakeSealer() *MockCryptoSetupGetHandshakeSealerCall
GetHandshakeSealer indicates an expected call of GetHandshakeSealer.
func (*MockCryptoSetupMockRecorder) GetInitialOpener ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) GetInitialOpener() *MockCryptoSetupGetInitialOpenerCall
GetInitialOpener indicates an expected call of GetInitialOpener.
func (*MockCryptoSetupMockRecorder) GetInitialSealer ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) GetInitialSealer() *MockCryptoSetupGetInitialSealerCall
GetInitialSealer indicates an expected call of GetInitialSealer.
func (*MockCryptoSetupMockRecorder) GetSessionTicket ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) GetSessionTicket() *MockCryptoSetupGetSessionTicketCall
GetSessionTicket indicates an expected call of GetSessionTicket.
func (*MockCryptoSetupMockRecorder) HandleMessage ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 any) *MockCryptoSetupHandleMessageCall
HandleMessage indicates an expected call of HandleMessage.
func (*MockCryptoSetupMockRecorder) NextEvent ¶ added in v0.37.0
func (mr *MockCryptoSetupMockRecorder) NextEvent() *MockCryptoSetupNextEventCall
NextEvent indicates an expected call of NextEvent.
func (*MockCryptoSetupMockRecorder) SetHandshakeConfirmed ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) SetHandshakeConfirmed() *MockCryptoSetupSetHandshakeConfirmedCall
SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.
func (*MockCryptoSetupMockRecorder) SetLargest1RTTAcked ¶ added in v0.32.0
func (mr *MockCryptoSetupMockRecorder) SetLargest1RTTAcked(arg0 any) *MockCryptoSetupSetLargest1RTTAckedCall
SetLargest1RTTAcked indicates an expected call of SetLargest1RTTAcked.
func (*MockCryptoSetupMockRecorder) StartHandshake ¶ added in v0.37.0
func (mr *MockCryptoSetupMockRecorder) StartHandshake() *MockCryptoSetupStartHandshakeCall
StartHandshake indicates an expected call of StartHandshake.
type MockCryptoSetupNextEventCall ¶ added in v0.42.0
MockCryptoSetupNextEventCall wrap *gomock.Call
func (*MockCryptoSetupNextEventCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupNextEventCall) Do(f func() handshake.Event) *MockCryptoSetupNextEventCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupNextEventCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupNextEventCall) DoAndReturn(f func() handshake.Event) *MockCryptoSetupNextEventCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupNextEventCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupNextEventCall) Return(arg0 handshake.Event) *MockCryptoSetupNextEventCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupSetHandshakeConfirmedCall ¶ added in v0.42.0
MockCryptoSetupSetHandshakeConfirmedCall wrap *gomock.Call
func (*MockCryptoSetupSetHandshakeConfirmedCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupSetHandshakeConfirmedCall) Do(f func()) *MockCryptoSetupSetHandshakeConfirmedCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupSetHandshakeConfirmedCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupSetHandshakeConfirmedCall) DoAndReturn(f func()) *MockCryptoSetupSetHandshakeConfirmedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupSetHandshakeConfirmedCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupSetHandshakeConfirmedCall) Return() *MockCryptoSetupSetHandshakeConfirmedCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupSetLargest1RTTAckedCall ¶ added in v0.42.0
MockCryptoSetupSetLargest1RTTAckedCall wrap *gomock.Call
func (*MockCryptoSetupSetLargest1RTTAckedCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupSetLargest1RTTAckedCall) Do(f func(protocol.PacketNumber) error) *MockCryptoSetupSetLargest1RTTAckedCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupSetLargest1RTTAckedCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupSetLargest1RTTAckedCall) DoAndReturn(f func(protocol.PacketNumber) error) *MockCryptoSetupSetLargest1RTTAckedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupSetLargest1RTTAckedCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupSetLargest1RTTAckedCall) Return(arg0 error) *MockCryptoSetupSetLargest1RTTAckedCall
Return rewrite *gomock.Call.Return
type MockCryptoSetupStartHandshakeCall ¶ added in v0.42.0
MockCryptoSetupStartHandshakeCall wrap *gomock.Call
func (*MockCryptoSetupStartHandshakeCall) Do ¶ added in v0.42.0
func (c *MockCryptoSetupStartHandshakeCall) Do(f func() error) *MockCryptoSetupStartHandshakeCall
Do rewrite *gomock.Call.Do
func (*MockCryptoSetupStartHandshakeCall) DoAndReturn ¶ added in v0.42.0
func (c *MockCryptoSetupStartHandshakeCall) DoAndReturn(f func() error) *MockCryptoSetupStartHandshakeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCryptoSetupStartHandshakeCall) Return ¶ added in v0.42.0
func (c *MockCryptoSetupStartHandshakeCall) Return(arg0 error) *MockCryptoSetupStartHandshakeCall
Return rewrite *gomock.Call.Return
type MockLongHeaderOpener ¶ added in v0.32.0
type MockLongHeaderOpener struct {
// contains filtered or unexported fields
}
MockLongHeaderOpener is a mock of LongHeaderOpener interface.
func NewMockLongHeaderOpener ¶ added in v0.32.0
func NewMockLongHeaderOpener(ctrl *gomock.Controller) *MockLongHeaderOpener
NewMockLongHeaderOpener creates a new mock instance.
func (*MockLongHeaderOpener) DecodePacketNumber ¶ added in v0.32.0
func (m *MockLongHeaderOpener) DecodePacketNumber(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) protocol.PacketNumber
DecodePacketNumber mocks base method.
func (*MockLongHeaderOpener) DecryptHeader ¶ added in v0.32.0
func (m *MockLongHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
DecryptHeader mocks base method.
func (*MockLongHeaderOpener) EXPECT ¶ added in v0.32.0
func (m *MockLongHeaderOpener) EXPECT() *MockLongHeaderOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLongHeaderOpener) Open ¶ added in v0.32.0
func (m *MockLongHeaderOpener) Open(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) ([]byte, error)
Open mocks base method.
type MockLongHeaderOpenerDecodePacketNumberCall ¶ added in v0.42.0
MockLongHeaderOpenerDecodePacketNumberCall wrap *gomock.Call
func (*MockLongHeaderOpenerDecodePacketNumberCall) Do ¶ added in v0.42.0
func (c *MockLongHeaderOpenerDecodePacketNumberCall) Do(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *MockLongHeaderOpenerDecodePacketNumberCall
Do rewrite *gomock.Call.Do
func (*MockLongHeaderOpenerDecodePacketNumberCall) DoAndReturn ¶ added in v0.42.0
func (c *MockLongHeaderOpenerDecodePacketNumberCall) DoAndReturn(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *MockLongHeaderOpenerDecodePacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockLongHeaderOpenerDecodePacketNumberCall) Return ¶ added in v0.42.0
func (c *MockLongHeaderOpenerDecodePacketNumberCall) Return(arg0 protocol.PacketNumber) *MockLongHeaderOpenerDecodePacketNumberCall
Return rewrite *gomock.Call.Return
type MockLongHeaderOpenerDecryptHeaderCall ¶ added in v0.42.0
MockLongHeaderOpenerDecryptHeaderCall wrap *gomock.Call
func (*MockLongHeaderOpenerDecryptHeaderCall) Do ¶ added in v0.42.0
func (c *MockLongHeaderOpenerDecryptHeaderCall) Do(f func([]byte, *byte, []byte)) *MockLongHeaderOpenerDecryptHeaderCall
Do rewrite *gomock.Call.Do
func (*MockLongHeaderOpenerDecryptHeaderCall) DoAndReturn ¶ added in v0.42.0
func (c *MockLongHeaderOpenerDecryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *MockLongHeaderOpenerDecryptHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockLongHeaderOpenerDecryptHeaderCall) Return ¶ added in v0.42.0
func (c *MockLongHeaderOpenerDecryptHeaderCall) Return() *MockLongHeaderOpenerDecryptHeaderCall
Return rewrite *gomock.Call.Return
type MockLongHeaderOpenerMockRecorder ¶ added in v0.32.0
type MockLongHeaderOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockLongHeaderOpenerMockRecorder is the mock recorder for MockLongHeaderOpener.
func (*MockLongHeaderOpenerMockRecorder) DecodePacketNumber ¶ added in v0.32.0
func (mr *MockLongHeaderOpenerMockRecorder) DecodePacketNumber(arg0, arg1 any) *MockLongHeaderOpenerDecodePacketNumberCall
DecodePacketNumber indicates an expected call of DecodePacketNumber.
func (*MockLongHeaderOpenerMockRecorder) DecryptHeader ¶ added in v0.32.0
func (mr *MockLongHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *MockLongHeaderOpenerDecryptHeaderCall
DecryptHeader indicates an expected call of DecryptHeader.
func (*MockLongHeaderOpenerMockRecorder) Open ¶ added in v0.32.0
func (mr *MockLongHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 any) *MockLongHeaderOpenerOpenCall
Open indicates an expected call of Open.
type MockLongHeaderOpenerOpenCall ¶ added in v0.42.0
MockLongHeaderOpenerOpenCall wrap *gomock.Call
func (*MockLongHeaderOpenerOpenCall) Do ¶ added in v0.42.0
func (c *MockLongHeaderOpenerOpenCall) Do(f func([]byte, []byte, protocol.PacketNumber, []byte) ([]byte, error)) *MockLongHeaderOpenerOpenCall
Do rewrite *gomock.Call.Do
func (*MockLongHeaderOpenerOpenCall) DoAndReturn ¶ added in v0.42.0
func (c *MockLongHeaderOpenerOpenCall) DoAndReturn(f func([]byte, []byte, protocol.PacketNumber, []byte) ([]byte, error)) *MockLongHeaderOpenerOpenCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockLongHeaderOpenerOpenCall) Return ¶ added in v0.42.0
func (c *MockLongHeaderOpenerOpenCall) Return(arg0 []byte, arg1 error) *MockLongHeaderOpenerOpenCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfos ¶ added in v0.32.0
type MockSendAlgorithmWithDebugInfos struct {
// contains filtered or unexported fields
}
MockSendAlgorithmWithDebugInfos is a mock of SendAlgorithmWithDebugInfos interface.
func NewMockSendAlgorithmWithDebugInfos ¶ added in v0.32.0
func NewMockSendAlgorithmWithDebugInfos(ctrl *gomock.Controller) *MockSendAlgorithmWithDebugInfos
NewMockSendAlgorithmWithDebugInfos creates a new mock instance.
func (*MockSendAlgorithmWithDebugInfos) CanSend ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) CanSend(arg0 protocol.ByteCount) bool
CanSend mocks base method.
func (*MockSendAlgorithmWithDebugInfos) EXPECT ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) EXPECT() *MockSendAlgorithmWithDebugInfosMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSendAlgorithmWithDebugInfos) GetCongestionWindow ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) GetCongestionWindow() protocol.ByteCount
GetCongestionWindow mocks base method.
func (*MockSendAlgorithmWithDebugInfos) HasPacingBudget ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) HasPacingBudget(arg0 time.Time) bool
HasPacingBudget mocks base method.
func (*MockSendAlgorithmWithDebugInfos) InRecovery ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) InRecovery() bool
InRecovery mocks base method.
func (*MockSendAlgorithmWithDebugInfos) InSlowStart ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) InSlowStart() bool
InSlowStart mocks base method.
func (*MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart()
MaybeExitSlowStart mocks base method.
func (*MockSendAlgorithmWithDebugInfos) OnCongestionEvent ¶ added in v0.39.0
func (m *MockSendAlgorithmWithDebugInfos) OnCongestionEvent(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)
OnCongestionEvent mocks base method.
func (*MockSendAlgorithmWithDebugInfos) OnPacketAcked ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)
OnPacketAcked mocks base method.
func (*MockSendAlgorithmWithDebugInfos) OnPacketSent ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) OnPacketSent(arg0 time.Time, arg1 protocol.ByteCount, arg2 protocol.PacketNumber, arg3 protocol.ByteCount, arg4 bool)
OnPacketSent mocks base method.
func (*MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout(arg0 bool)
OnRetransmissionTimeout mocks base method.
func (*MockSendAlgorithmWithDebugInfos) SetMaxDatagramSize ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) SetMaxDatagramSize(arg0 protocol.ByteCount)
SetMaxDatagramSize mocks base method.
func (*MockSendAlgorithmWithDebugInfos) TimeUntilSend ¶ added in v0.32.0
func (m *MockSendAlgorithmWithDebugInfos) TimeUntilSend(arg0 protocol.ByteCount) time.Time
TimeUntilSend mocks base method.
type MockSendAlgorithmWithDebugInfosCanSendCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosCanSendCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosCanSendCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosCanSendCall) Do(f func(protocol.ByteCount) bool) *MockSendAlgorithmWithDebugInfosCanSendCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosCanSendCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosCanSendCall) DoAndReturn(f func(protocol.ByteCount) bool) *MockSendAlgorithmWithDebugInfosCanSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosCanSendCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosCanSendCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosCanSendCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosGetCongestionWindowCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosGetCongestionWindowCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Do(f func() protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn(f func() protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Return(arg0 protocol.ByteCount) *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosHasPacingBudgetCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosHasPacingBudgetCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Do(f func(time.Time) bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn(f func(time.Time) bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosInRecoveryCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosInRecoveryCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) Do(f func() bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn(f func() bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosInRecoveryCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosInRecoveryCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosInSlowStartCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosInSlowStartCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) Do(f func() bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn(f func() bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosInSlowStartCall) Return(arg0 bool) *MockSendAlgorithmWithDebugInfosInSlowStartCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do(f func()) *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn(f func()) *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return() *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosMockRecorder ¶ added in v0.32.0
type MockSendAlgorithmWithDebugInfosMockRecorder struct {
// contains filtered or unexported fields
}
MockSendAlgorithmWithDebugInfosMockRecorder is the mock recorder for MockSendAlgorithmWithDebugInfos.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) CanSend ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) CanSend(arg0 any) *MockSendAlgorithmWithDebugInfosCanSendCall
CanSend indicates an expected call of CanSend.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow() *MockSendAlgorithmWithDebugInfosGetCongestionWindowCall
GetCongestionWindow indicates an expected call of GetCongestionWindow.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget(arg0 any) *MockSendAlgorithmWithDebugInfosHasPacingBudgetCall
HasPacingBudget indicates an expected call of HasPacingBudget.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery() *MockSendAlgorithmWithDebugInfosInRecoveryCall
InRecovery indicates an expected call of InRecovery.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart() *MockSendAlgorithmWithDebugInfosInSlowStartCall
InSlowStart indicates an expected call of InSlowStart.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart() *MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall
MaybeExitSlowStart indicates an expected call of MaybeExitSlowStart.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent ¶ added in v0.39.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent(arg0, arg1, arg2 any) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall
OnCongestionEvent indicates an expected call of OnCongestionEvent.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 any) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall
OnPacketAcked indicates an expected call of OnPacketAcked.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 any) *MockSendAlgorithmWithDebugInfosOnPacketSentCall
OnPacketSent indicates an expected call of OnPacketSent.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout(arg0 any) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
OnRetransmissionTimeout indicates an expected call of OnRetransmissionTimeout.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize(arg0 any) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
SetMaxDatagramSize indicates an expected call of SetMaxDatagramSize.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend ¶ added in v0.32.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend(arg0 any) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall
TimeUntilSend indicates an expected call of TimeUntilSend.
type MockSendAlgorithmWithDebugInfosOnCongestionEventCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosOnCongestionEventCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Do(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosOnCongestionEventCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Return() *MockSendAlgorithmWithDebugInfosOnCongestionEventCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosOnPacketAckedCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosOnPacketAckedCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Do(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount, time.Time)) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount, time.Time)) *MockSendAlgorithmWithDebugInfosOnPacketAckedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Return() *MockSendAlgorithmWithDebugInfosOnPacketAckedCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosOnPacketSentCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosOnPacketSentCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) Do(f func(time.Time, protocol.ByteCount, protocol.PacketNumber, protocol.ByteCount, bool)) *MockSendAlgorithmWithDebugInfosOnPacketSentCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn(f func(time.Time, protocol.ByteCount, protocol.PacketNumber, protocol.ByteCount, bool)) *MockSendAlgorithmWithDebugInfosOnPacketSentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnPacketSentCall) Return() *MockSendAlgorithmWithDebugInfosOnPacketSentCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do(f func(bool)) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn(f func(bool)) *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return() *MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return() *MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
Return rewrite *gomock.Call.Return
type MockSendAlgorithmWithDebugInfosTimeUntilSendCall ¶ added in v0.42.0
MockSendAlgorithmWithDebugInfosTimeUntilSendCall wrap *gomock.Call
func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Do ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Do(f func(protocol.ByteCount) time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall
Do rewrite *gomock.Call.Do
func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn(f func(protocol.ByteCount) time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Return ¶ added in v0.42.0
func (c *MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Return(arg0 time.Time) *MockSendAlgorithmWithDebugInfosTimeUntilSendCall
Return rewrite *gomock.Call.Return
type MockShortHeaderOpener ¶ added in v0.32.0
type MockShortHeaderOpener struct {
// contains filtered or unexported fields
}
MockShortHeaderOpener is a mock of ShortHeaderOpener interface.
func NewMockShortHeaderOpener ¶ added in v0.32.0
func NewMockShortHeaderOpener(ctrl *gomock.Controller) *MockShortHeaderOpener
NewMockShortHeaderOpener creates a new mock instance.
func (*MockShortHeaderOpener) DecodePacketNumber ¶ added in v0.32.0
func (m *MockShortHeaderOpener) DecodePacketNumber(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) protocol.PacketNumber
DecodePacketNumber mocks base method.
func (*MockShortHeaderOpener) DecryptHeader ¶ added in v0.32.0
func (m *MockShortHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
DecryptHeader mocks base method.
func (*MockShortHeaderOpener) EXPECT ¶ added in v0.32.0
func (m *MockShortHeaderOpener) EXPECT() *MockShortHeaderOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockShortHeaderOpener) Open ¶ added in v0.32.0
func (m *MockShortHeaderOpener) Open(arg0, arg1 []byte, arg2 time.Time, arg3 protocol.PacketNumber, arg4 protocol.KeyPhaseBit, arg5 []byte) ([]byte, error)
Open mocks base method.
type MockShortHeaderOpenerDecodePacketNumberCall ¶ added in v0.42.0
MockShortHeaderOpenerDecodePacketNumberCall wrap *gomock.Call
func (*MockShortHeaderOpenerDecodePacketNumberCall) Do ¶ added in v0.42.0
func (c *MockShortHeaderOpenerDecodePacketNumberCall) Do(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *MockShortHeaderOpenerDecodePacketNumberCall
Do rewrite *gomock.Call.Do
func (*MockShortHeaderOpenerDecodePacketNumberCall) DoAndReturn ¶ added in v0.42.0
func (c *MockShortHeaderOpenerDecodePacketNumberCall) DoAndReturn(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *MockShortHeaderOpenerDecodePacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockShortHeaderOpenerDecodePacketNumberCall) Return ¶ added in v0.42.0
func (c *MockShortHeaderOpenerDecodePacketNumberCall) Return(arg0 protocol.PacketNumber) *MockShortHeaderOpenerDecodePacketNumberCall
Return rewrite *gomock.Call.Return
type MockShortHeaderOpenerDecryptHeaderCall ¶ added in v0.42.0
MockShortHeaderOpenerDecryptHeaderCall wrap *gomock.Call
func (*MockShortHeaderOpenerDecryptHeaderCall) Do ¶ added in v0.42.0
func (c *MockShortHeaderOpenerDecryptHeaderCall) Do(f func([]byte, *byte, []byte)) *MockShortHeaderOpenerDecryptHeaderCall
Do rewrite *gomock.Call.Do
func (*MockShortHeaderOpenerDecryptHeaderCall) DoAndReturn ¶ added in v0.42.0
func (c *MockShortHeaderOpenerDecryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *MockShortHeaderOpenerDecryptHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockShortHeaderOpenerDecryptHeaderCall) Return ¶ added in v0.42.0
func (c *MockShortHeaderOpenerDecryptHeaderCall) Return() *MockShortHeaderOpenerDecryptHeaderCall
Return rewrite *gomock.Call.Return
type MockShortHeaderOpenerMockRecorder ¶ added in v0.32.0
type MockShortHeaderOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockShortHeaderOpenerMockRecorder is the mock recorder for MockShortHeaderOpener.
func (*MockShortHeaderOpenerMockRecorder) DecodePacketNumber ¶ added in v0.32.0
func (mr *MockShortHeaderOpenerMockRecorder) DecodePacketNumber(arg0, arg1 any) *MockShortHeaderOpenerDecodePacketNumberCall
DecodePacketNumber indicates an expected call of DecodePacketNumber.
func (*MockShortHeaderOpenerMockRecorder) DecryptHeader ¶ added in v0.32.0
func (mr *MockShortHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *MockShortHeaderOpenerDecryptHeaderCall
DecryptHeader indicates an expected call of DecryptHeader.
func (*MockShortHeaderOpenerMockRecorder) Open ¶ added in v0.32.0
func (mr *MockShortHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockShortHeaderOpenerOpenCall
Open indicates an expected call of Open.
type MockShortHeaderOpenerOpenCall ¶ added in v0.42.0
MockShortHeaderOpenerOpenCall wrap *gomock.Call
func (*MockShortHeaderOpenerOpenCall) Do ¶ added in v0.42.0
func (c *MockShortHeaderOpenerOpenCall) Do(f func([]byte, []byte, time.Time, protocol.PacketNumber, protocol.KeyPhaseBit, []byte) ([]byte, error)) *MockShortHeaderOpenerOpenCall
Do rewrite *gomock.Call.Do
func (*MockShortHeaderOpenerOpenCall) DoAndReturn ¶ added in v0.42.0
func (c *MockShortHeaderOpenerOpenCall) DoAndReturn(f func([]byte, []byte, time.Time, protocol.PacketNumber, protocol.KeyPhaseBit, []byte) ([]byte, error)) *MockShortHeaderOpenerOpenCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockShortHeaderOpenerOpenCall) Return ¶ added in v0.42.0
func (c *MockShortHeaderOpenerOpenCall) Return(arg0 []byte, arg1 error) *MockShortHeaderOpenerOpenCall
Return rewrite *gomock.Call.Return
type MockShortHeaderSealer ¶ added in v0.32.0
type MockShortHeaderSealer struct {
// contains filtered or unexported fields
}
MockShortHeaderSealer is a mock of ShortHeaderSealer interface.
func NewMockShortHeaderSealer ¶ added in v0.32.0
func NewMockShortHeaderSealer(ctrl *gomock.Controller) *MockShortHeaderSealer
NewMockShortHeaderSealer creates a new mock instance.
func (*MockShortHeaderSealer) EXPECT ¶ added in v0.32.0
func (m *MockShortHeaderSealer) EXPECT() *MockShortHeaderSealerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockShortHeaderSealer) EncryptHeader ¶ added in v0.32.0
func (m *MockShortHeaderSealer) EncryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
EncryptHeader mocks base method.
func (*MockShortHeaderSealer) KeyPhase ¶ added in v0.32.0
func (m *MockShortHeaderSealer) KeyPhase() protocol.KeyPhaseBit
KeyPhase mocks base method.
func (*MockShortHeaderSealer) Overhead ¶ added in v0.32.0
func (m *MockShortHeaderSealer) Overhead() int
Overhead mocks base method.
func (*MockShortHeaderSealer) Seal ¶ added in v0.32.0
func (m *MockShortHeaderSealer) Seal(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) []byte
Seal mocks base method.
type MockShortHeaderSealerEncryptHeaderCall ¶ added in v0.42.0
MockShortHeaderSealerEncryptHeaderCall wrap *gomock.Call
func (*MockShortHeaderSealerEncryptHeaderCall) Do ¶ added in v0.42.0
func (c *MockShortHeaderSealerEncryptHeaderCall) Do(f func([]byte, *byte, []byte)) *MockShortHeaderSealerEncryptHeaderCall
Do rewrite *gomock.Call.Do
func (*MockShortHeaderSealerEncryptHeaderCall) DoAndReturn ¶ added in v0.42.0
func (c *MockShortHeaderSealerEncryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *MockShortHeaderSealerEncryptHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockShortHeaderSealerEncryptHeaderCall) Return ¶ added in v0.42.0
func (c *MockShortHeaderSealerEncryptHeaderCall) Return() *MockShortHeaderSealerEncryptHeaderCall
Return rewrite *gomock.Call.Return
type MockShortHeaderSealerKeyPhaseCall ¶ added in v0.42.0
MockShortHeaderSealerKeyPhaseCall wrap *gomock.Call
func (*MockShortHeaderSealerKeyPhaseCall) Do ¶ added in v0.42.0
func (c *MockShortHeaderSealerKeyPhaseCall) Do(f func() protocol.KeyPhaseBit) *MockShortHeaderSealerKeyPhaseCall
Do rewrite *gomock.Call.Do
func (*MockShortHeaderSealerKeyPhaseCall) DoAndReturn ¶ added in v0.42.0
func (c *MockShortHeaderSealerKeyPhaseCall) DoAndReturn(f func() protocol.KeyPhaseBit) *MockShortHeaderSealerKeyPhaseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockShortHeaderSealerKeyPhaseCall) Return ¶ added in v0.42.0
func (c *MockShortHeaderSealerKeyPhaseCall) Return(arg0 protocol.KeyPhaseBit) *MockShortHeaderSealerKeyPhaseCall
Return rewrite *gomock.Call.Return
type MockShortHeaderSealerMockRecorder ¶ added in v0.32.0
type MockShortHeaderSealerMockRecorder struct {
// contains filtered or unexported fields
}
MockShortHeaderSealerMockRecorder is the mock recorder for MockShortHeaderSealer.
func (*MockShortHeaderSealerMockRecorder) EncryptHeader ¶ added in v0.32.0
func (mr *MockShortHeaderSealerMockRecorder) EncryptHeader(arg0, arg1, arg2 any) *MockShortHeaderSealerEncryptHeaderCall
EncryptHeader indicates an expected call of EncryptHeader.
func (*MockShortHeaderSealerMockRecorder) KeyPhase ¶ added in v0.32.0
func (mr *MockShortHeaderSealerMockRecorder) KeyPhase() *MockShortHeaderSealerKeyPhaseCall
KeyPhase indicates an expected call of KeyPhase.
func (*MockShortHeaderSealerMockRecorder) Overhead ¶ added in v0.32.0
func (mr *MockShortHeaderSealerMockRecorder) Overhead() *MockShortHeaderSealerOverheadCall
Overhead indicates an expected call of Overhead.
func (*MockShortHeaderSealerMockRecorder) Seal ¶ added in v0.32.0
func (mr *MockShortHeaderSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 any) *MockShortHeaderSealerSealCall
Seal indicates an expected call of Seal.
type MockShortHeaderSealerOverheadCall ¶ added in v0.42.0
MockShortHeaderSealerOverheadCall wrap *gomock.Call
func (*MockShortHeaderSealerOverheadCall) Do ¶ added in v0.42.0
func (c *MockShortHeaderSealerOverheadCall) Do(f func() int) *MockShortHeaderSealerOverheadCall
Do rewrite *gomock.Call.Do
func (*MockShortHeaderSealerOverheadCall) DoAndReturn ¶ added in v0.42.0
func (c *MockShortHeaderSealerOverheadCall) DoAndReturn(f func() int) *MockShortHeaderSealerOverheadCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockShortHeaderSealerOverheadCall) Return ¶ added in v0.42.0
func (c *MockShortHeaderSealerOverheadCall) Return(arg0 int) *MockShortHeaderSealerOverheadCall
Return rewrite *gomock.Call.Return
type MockShortHeaderSealerSealCall ¶ added in v0.42.0
MockShortHeaderSealerSealCall wrap *gomock.Call
func (*MockShortHeaderSealerSealCall) Do ¶ added in v0.42.0
func (c *MockShortHeaderSealerSealCall) Do(f func([]byte, []byte, protocol.PacketNumber, []byte) []byte) *MockShortHeaderSealerSealCall
Do rewrite *gomock.Call.Do
func (*MockShortHeaderSealerSealCall) DoAndReturn ¶ added in v0.42.0
func (c *MockShortHeaderSealerSealCall) DoAndReturn(f func([]byte, []byte, protocol.PacketNumber, []byte) []byte) *MockShortHeaderSealerSealCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockShortHeaderSealerSealCall) Return ¶ added in v0.42.0
func (c *MockShortHeaderSealerSealCall) Return(arg0 []byte) *MockShortHeaderSealerSealCall
Return rewrite *gomock.Call.Return
type MockStreamFlowController ¶
type MockStreamFlowController struct {
// contains filtered or unexported fields
}
MockStreamFlowController is a mock of StreamFlowController interface.
func NewMockStreamFlowController ¶
func NewMockStreamFlowController(ctrl *gomock.Controller) *MockStreamFlowController
NewMockStreamFlowController creates a new mock instance.
func (*MockStreamFlowController) Abandon ¶ added in v0.32.0
func (m *MockStreamFlowController) Abandon()
Abandon mocks base method.
func (*MockStreamFlowController) AddBytesRead ¶
func (m *MockStreamFlowController) AddBytesRead(arg0 protocol.ByteCount)
AddBytesRead mocks base method.
func (*MockStreamFlowController) AddBytesSent ¶
func (m *MockStreamFlowController) AddBytesSent(arg0 protocol.ByteCount)
AddBytesSent mocks base method.
func (*MockStreamFlowController) EXPECT ¶
func (m *MockStreamFlowController) EXPECT() *MockStreamFlowControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStreamFlowController) GetWindowUpdate ¶
func (m *MockStreamFlowController) GetWindowUpdate() protocol.ByteCount
GetWindowUpdate mocks base method.
func (*MockStreamFlowController) IsNewlyBlocked ¶ added in v0.9.0
func (m *MockStreamFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
IsNewlyBlocked mocks base method.
func (*MockStreamFlowController) SendWindowSize ¶
func (m *MockStreamFlowController) SendWindowSize() protocol.ByteCount
SendWindowSize mocks base method.
func (*MockStreamFlowController) UpdateHighestReceived ¶
func (m *MockStreamFlowController) UpdateHighestReceived(arg0 protocol.ByteCount, arg1 bool) error
UpdateHighestReceived mocks base method.
func (*MockStreamFlowController) UpdateSendWindow ¶
func (m *MockStreamFlowController) UpdateSendWindow(arg0 protocol.ByteCount) bool
UpdateSendWindow mocks base method.
type MockStreamFlowControllerAbandonCall ¶ added in v0.42.0
MockStreamFlowControllerAbandonCall wrap *gomock.Call
func (*MockStreamFlowControllerAbandonCall) Do ¶ added in v0.42.0
func (c *MockStreamFlowControllerAbandonCall) Do(f func()) *MockStreamFlowControllerAbandonCall
Do rewrite *gomock.Call.Do
func (*MockStreamFlowControllerAbandonCall) DoAndReturn ¶ added in v0.42.0
func (c *MockStreamFlowControllerAbandonCall) DoAndReturn(f func()) *MockStreamFlowControllerAbandonCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStreamFlowControllerAbandonCall) Return ¶ added in v0.42.0
func (c *MockStreamFlowControllerAbandonCall) Return() *MockStreamFlowControllerAbandonCall
Return rewrite *gomock.Call.Return
type MockStreamFlowControllerAddBytesReadCall ¶ added in v0.42.0
MockStreamFlowControllerAddBytesReadCall wrap *gomock.Call
func (*MockStreamFlowControllerAddBytesReadCall) Do ¶ added in v0.42.0
func (c *MockStreamFlowControllerAddBytesReadCall) Do(f func(protocol.ByteCount)) *MockStreamFlowControllerAddBytesReadCall
Do rewrite *gomock.Call.Do
func (*MockStreamFlowControllerAddBytesReadCall) DoAndReturn ¶ added in v0.42.0
func (c *MockStreamFlowControllerAddBytesReadCall) DoAndReturn(f func(protocol.ByteCount)) *MockStreamFlowControllerAddBytesReadCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStreamFlowControllerAddBytesReadCall) Return ¶ added in v0.42.0
func (c *MockStreamFlowControllerAddBytesReadCall) Return() *MockStreamFlowControllerAddBytesReadCall
Return rewrite *gomock.Call.Return
type MockStreamFlowControllerAddBytesSentCall ¶ added in v0.42.0
MockStreamFlowControllerAddBytesSentCall wrap *gomock.Call
func (*MockStreamFlowControllerAddBytesSentCall) Do ¶ added in v0.42.0
func (c *MockStreamFlowControllerAddBytesSentCall) Do(f func(protocol.ByteCount)) *MockStreamFlowControllerAddBytesSentCall
Do rewrite *gomock.Call.Do
func (*MockStreamFlowControllerAddBytesSentCall) DoAndReturn ¶ added in v0.42.0
func (c *MockStreamFlowControllerAddBytesSentCall) DoAndReturn(f func(protocol.ByteCount)) *MockStreamFlowControllerAddBytesSentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStreamFlowControllerAddBytesSentCall) Return ¶ added in v0.42.0
func (c *MockStreamFlowControllerAddBytesSentCall) Return() *MockStreamFlowControllerAddBytesSentCall
Return rewrite *gomock.Call.Return
type MockStreamFlowControllerGetWindowUpdateCall ¶ added in v0.42.0
MockStreamFlowControllerGetWindowUpdateCall wrap *gomock.Call
func (*MockStreamFlowControllerGetWindowUpdateCall) Do ¶ added in v0.42.0
func (c *MockStreamFlowControllerGetWindowUpdateCall) Do(f func() protocol.ByteCount) *MockStreamFlowControllerGetWindowUpdateCall
Do rewrite *gomock.Call.Do
func (*MockStreamFlowControllerGetWindowUpdateCall) DoAndReturn ¶ added in v0.42.0
func (c *MockStreamFlowControllerGetWindowUpdateCall) DoAndReturn(f func() protocol.ByteCount) *MockStreamFlowControllerGetWindowUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStreamFlowControllerGetWindowUpdateCall) Return ¶ added in v0.42.0
func (c *MockStreamFlowControllerGetWindowUpdateCall) Return(arg0 protocol.ByteCount) *MockStreamFlowControllerGetWindowUpdateCall
Return rewrite *gomock.Call.Return
type MockStreamFlowControllerIsNewlyBlockedCall ¶ added in v0.42.0
MockStreamFlowControllerIsNewlyBlockedCall wrap *gomock.Call
func (*MockStreamFlowControllerIsNewlyBlockedCall) Do ¶ added in v0.42.0
func (c *MockStreamFlowControllerIsNewlyBlockedCall) Do(f func() (bool, protocol.ByteCount)) *MockStreamFlowControllerIsNewlyBlockedCall
Do rewrite *gomock.Call.Do
func (*MockStreamFlowControllerIsNewlyBlockedCall) DoAndReturn ¶ added in v0.42.0
func (c *MockStreamFlowControllerIsNewlyBlockedCall) DoAndReturn(f func() (bool, protocol.ByteCount)) *MockStreamFlowControllerIsNewlyBlockedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStreamFlowControllerIsNewlyBlockedCall) Return ¶ added in v0.42.0
func (c *MockStreamFlowControllerIsNewlyBlockedCall) Return(arg0 bool, arg1 protocol.ByteCount) *MockStreamFlowControllerIsNewlyBlockedCall
Return rewrite *gomock.Call.Return
type MockStreamFlowControllerMockRecorder ¶
type MockStreamFlowControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamFlowControllerMockRecorder is the mock recorder for MockStreamFlowController.
func (*MockStreamFlowControllerMockRecorder) Abandon ¶ added in v0.32.0
func (mr *MockStreamFlowControllerMockRecorder) Abandon() *MockStreamFlowControllerAbandonCall
Abandon indicates an expected call of Abandon.
func (*MockStreamFlowControllerMockRecorder) AddBytesRead ¶
func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 any) *MockStreamFlowControllerAddBytesReadCall
AddBytesRead indicates an expected call of AddBytesRead.
func (*MockStreamFlowControllerMockRecorder) AddBytesSent ¶
func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 any) *MockStreamFlowControllerAddBytesSentCall
AddBytesSent indicates an expected call of AddBytesSent.
func (*MockStreamFlowControllerMockRecorder) GetWindowUpdate ¶
func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *MockStreamFlowControllerGetWindowUpdateCall
GetWindowUpdate indicates an expected call of GetWindowUpdate.
func (*MockStreamFlowControllerMockRecorder) IsNewlyBlocked ¶ added in v0.9.0
func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *MockStreamFlowControllerIsNewlyBlockedCall
IsNewlyBlocked indicates an expected call of IsNewlyBlocked.
func (*MockStreamFlowControllerMockRecorder) SendWindowSize ¶
func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *MockStreamFlowControllerSendWindowSizeCall
SendWindowSize indicates an expected call of SendWindowSize.
func (*MockStreamFlowControllerMockRecorder) UpdateHighestReceived ¶
func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 any) *MockStreamFlowControllerUpdateHighestReceivedCall
UpdateHighestReceived indicates an expected call of UpdateHighestReceived.
func (*MockStreamFlowControllerMockRecorder) UpdateSendWindow ¶
func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 any) *MockStreamFlowControllerUpdateSendWindowCall
UpdateSendWindow indicates an expected call of UpdateSendWindow.
type MockStreamFlowControllerSendWindowSizeCall ¶ added in v0.42.0
MockStreamFlowControllerSendWindowSizeCall wrap *gomock.Call
func (*MockStreamFlowControllerSendWindowSizeCall) Do ¶ added in v0.42.0
func (c *MockStreamFlowControllerSendWindowSizeCall) Do(f func() protocol.ByteCount) *MockStreamFlowControllerSendWindowSizeCall
Do rewrite *gomock.Call.Do
func (*MockStreamFlowControllerSendWindowSizeCall) DoAndReturn ¶ added in v0.42.0
func (c *MockStreamFlowControllerSendWindowSizeCall) DoAndReturn(f func() protocol.ByteCount) *MockStreamFlowControllerSendWindowSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStreamFlowControllerSendWindowSizeCall) Return ¶ added in v0.42.0
func (c *MockStreamFlowControllerSendWindowSizeCall) Return(arg0 protocol.ByteCount) *MockStreamFlowControllerSendWindowSizeCall
Return rewrite *gomock.Call.Return
type MockStreamFlowControllerUpdateHighestReceivedCall ¶ added in v0.42.0
MockStreamFlowControllerUpdateHighestReceivedCall wrap *gomock.Call
func (*MockStreamFlowControllerUpdateHighestReceivedCall) Do ¶ added in v0.42.0
func (c *MockStreamFlowControllerUpdateHighestReceivedCall) Do(f func(protocol.ByteCount, bool) error) *MockStreamFlowControllerUpdateHighestReceivedCall
Do rewrite *gomock.Call.Do
func (*MockStreamFlowControllerUpdateHighestReceivedCall) DoAndReturn ¶ added in v0.42.0
func (c *MockStreamFlowControllerUpdateHighestReceivedCall) DoAndReturn(f func(protocol.ByteCount, bool) error) *MockStreamFlowControllerUpdateHighestReceivedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStreamFlowControllerUpdateHighestReceivedCall) Return ¶ added in v0.42.0
func (c *MockStreamFlowControllerUpdateHighestReceivedCall) Return(arg0 error) *MockStreamFlowControllerUpdateHighestReceivedCall
Return rewrite *gomock.Call.Return
type MockStreamFlowControllerUpdateSendWindowCall ¶ added in v0.42.0
MockStreamFlowControllerUpdateSendWindowCall wrap *gomock.Call
func (*MockStreamFlowControllerUpdateSendWindowCall) Do ¶ added in v0.42.0
func (c *MockStreamFlowControllerUpdateSendWindowCall) Do(f func(protocol.ByteCount) bool) *MockStreamFlowControllerUpdateSendWindowCall
Do rewrite *gomock.Call.Do
func (*MockStreamFlowControllerUpdateSendWindowCall) DoAndReturn ¶ added in v0.42.0
func (c *MockStreamFlowControllerUpdateSendWindowCall) DoAndReturn(f func(protocol.ByteCount) bool) *MockStreamFlowControllerUpdateSendWindowCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockStreamFlowControllerUpdateSendWindowCall) Return ¶ added in v0.42.0
func (c *MockStreamFlowControllerUpdateSendWindowCall) Return(arg0 bool) *MockStreamFlowControllerUpdateSendWindowCall
Return rewrite *gomock.Call.Return
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package mockackhandler is a generated GoMock package.
|
Package mockackhandler is a generated GoMock package. |
internal
Package internal is a generated GoMock package.
|
Package internal is a generated GoMock package. |
Package mockquic is a generated GoMock package.
|
Package mockquic is a generated GoMock package. |
Package mocktls is a generated GoMock package.
|
Package mocktls is a generated GoMock package. |