Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/danielpfeifer02/quic-go-prio-packs/internal/congestion (interfaces: SendAlgorithmWithDebugInfos)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mocks -destination congestion.go github.com/danielpfeifer02/quic-go-prio-packs/internal/congestion SendAlgorithmWithDebugInfos
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/danielpfeifer02/quic-go-prio-packs/internal/flowcontrol (interfaces: ConnectionFlowController)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mocks -destination connection_flow_controller.go github.com/danielpfeifer02/quic-go-prio-packs/internal/flowcontrol ConnectionFlowController
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/danielpfeifer02/quic-go-prio-packs/internal/handshake (interfaces: CryptoSetup)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mocks -destination crypto_setup_tmp.go github.com/danielpfeifer02/quic-go-prio-packs/internal/handshake CryptoSetup
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/danielpfeifer02/quic-go-prio-packs/internal/handshake (interfaces: LongHeaderOpener)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mocks -destination long_header_opener.go github.com/danielpfeifer02/quic-go-prio-packs/internal/handshake LongHeaderOpener
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/danielpfeifer02/quic-go-prio-packs/internal/handshake (interfaces: ShortHeaderOpener)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mocks -destination short_header_opener.go github.com/danielpfeifer02/quic-go-prio-packs/internal/handshake ShortHeaderOpener
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/danielpfeifer02/quic-go-prio-packs/internal/handshake (interfaces: ShortHeaderSealer)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mocks -destination short_header_sealer.go github.com/danielpfeifer02/quic-go-prio-packs/internal/handshake ShortHeaderSealer
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/danielpfeifer02/quic-go-prio-packs/internal/flowcontrol (interfaces: StreamFlowController)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mocks -destination stream_flow_controller.go github.com/danielpfeifer02/quic-go-prio-packs/internal/flowcontrol StreamFlowController
Package mocks is a generated GoMock package.
Index ¶
- type ConnectionFlowControllerAddBytesReadCall
- func (c *ConnectionFlowControllerAddBytesReadCall) Do(f func(protocol.ByteCount)) *ConnectionFlowControllerAddBytesReadCall
- func (c *ConnectionFlowControllerAddBytesReadCall) DoAndReturn(f func(protocol.ByteCount)) *ConnectionFlowControllerAddBytesReadCall
- func (c *ConnectionFlowControllerAddBytesReadCall) Return() *ConnectionFlowControllerAddBytesReadCall
- type ConnectionFlowControllerAddBytesSentCall
- func (c *ConnectionFlowControllerAddBytesSentCall) Do(f func(protocol.ByteCount)) *ConnectionFlowControllerAddBytesSentCall
- func (c *ConnectionFlowControllerAddBytesSentCall) DoAndReturn(f func(protocol.ByteCount)) *ConnectionFlowControllerAddBytesSentCall
- func (c *ConnectionFlowControllerAddBytesSentCall) Return() *ConnectionFlowControllerAddBytesSentCall
- type ConnectionFlowControllerGetWindowUpdateCall
- func (c *ConnectionFlowControllerGetWindowUpdateCall) Do(f func() protocol.ByteCount) *ConnectionFlowControllerGetWindowUpdateCall
- func (c *ConnectionFlowControllerGetWindowUpdateCall) DoAndReturn(f func() protocol.ByteCount) *ConnectionFlowControllerGetWindowUpdateCall
- func (c *ConnectionFlowControllerGetWindowUpdateCall) Return(arg0 protocol.ByteCount) *ConnectionFlowControllerGetWindowUpdateCall
- type ConnectionFlowControllerIsNewlyBlockedCall
- func (c *ConnectionFlowControllerIsNewlyBlockedCall) Do(f func() (bool, protocol.ByteCount)) *ConnectionFlowControllerIsNewlyBlockedCall
- func (c *ConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn(f func() (bool, protocol.ByteCount)) *ConnectionFlowControllerIsNewlyBlockedCall
- func (c *ConnectionFlowControllerIsNewlyBlockedCall) Return(arg0 bool, arg1 protocol.ByteCount) *ConnectionFlowControllerIsNewlyBlockedCall
- type ConnectionFlowControllerResetCall
- func (c *ConnectionFlowControllerResetCall) Do(f func() error) *ConnectionFlowControllerResetCall
- func (c *ConnectionFlowControllerResetCall) DoAndReturn(f func() error) *ConnectionFlowControllerResetCall
- func (c *ConnectionFlowControllerResetCall) Return(arg0 error) *ConnectionFlowControllerResetCall
- type ConnectionFlowControllerSendWindowSizeCall
- func (c *ConnectionFlowControllerSendWindowSizeCall) Do(f func() protocol.ByteCount) *ConnectionFlowControllerSendWindowSizeCall
- func (c *ConnectionFlowControllerSendWindowSizeCall) DoAndReturn(f func() protocol.ByteCount) *ConnectionFlowControllerSendWindowSizeCall
- func (c *ConnectionFlowControllerSendWindowSizeCall) Return(arg0 protocol.ByteCount) *ConnectionFlowControllerSendWindowSizeCall
- type ConnectionFlowControllerUpdateSendWindowCall
- func (c *ConnectionFlowControllerUpdateSendWindowCall) Do(f func(protocol.ByteCount) bool) *ConnectionFlowControllerUpdateSendWindowCall
- func (c *ConnectionFlowControllerUpdateSendWindowCall) DoAndReturn(f func(protocol.ByteCount) bool) *ConnectionFlowControllerUpdateSendWindowCall
- func (c *ConnectionFlowControllerUpdateSendWindowCall) Return(arg0 bool) *ConnectionFlowControllerUpdateSendWindowCall
- type CryptoSetupChangeConnectionIDCall
- func (c *CryptoSetupChangeConnectionIDCall) Do(f func(protocol.ConnectionID)) *CryptoSetupChangeConnectionIDCall
- func (c *CryptoSetupChangeConnectionIDCall) DoAndReturn(f func(protocol.ConnectionID)) *CryptoSetupChangeConnectionIDCall
- func (c *CryptoSetupChangeConnectionIDCall) Return() *CryptoSetupChangeConnectionIDCall
- type CryptoSetupCloseCall
- type CryptoSetupConnectionStateCall
- func (c *CryptoSetupConnectionStateCall) Do(f func() handshake.ConnectionState) *CryptoSetupConnectionStateCall
- func (c *CryptoSetupConnectionStateCall) DoAndReturn(f func() handshake.ConnectionState) *CryptoSetupConnectionStateCall
- func (c *CryptoSetupConnectionStateCall) Return(arg0 handshake.ConnectionState) *CryptoSetupConnectionStateCall
- type CryptoSetupDiscardInitialKeysCall
- type CryptoSetupGet0RTTOpenerCall
- func (c *CryptoSetupGet0RTTOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGet0RTTOpenerCall
- func (c *CryptoSetupGet0RTTOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGet0RTTOpenerCall
- func (c *CryptoSetupGet0RTTOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *CryptoSetupGet0RTTOpenerCall
- type CryptoSetupGet0RTTSealerCall
- func (c *CryptoSetupGet0RTTSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGet0RTTSealerCall
- func (c *CryptoSetupGet0RTTSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGet0RTTSealerCall
- func (c *CryptoSetupGet0RTTSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *CryptoSetupGet0RTTSealerCall
- type CryptoSetupGet1RTTOpenerCall
- func (c *CryptoSetupGet1RTTOpenerCall) Do(f func() (handshake.ShortHeaderOpener, error)) *CryptoSetupGet1RTTOpenerCall
- func (c *CryptoSetupGet1RTTOpenerCall) DoAndReturn(f func() (handshake.ShortHeaderOpener, error)) *CryptoSetupGet1RTTOpenerCall
- func (c *CryptoSetupGet1RTTOpenerCall) Return(arg0 handshake.ShortHeaderOpener, arg1 error) *CryptoSetupGet1RTTOpenerCall
- type CryptoSetupGet1RTTSealerCall
- func (c *CryptoSetupGet1RTTSealerCall) Do(f func() (handshake.ShortHeaderSealer, error)) *CryptoSetupGet1RTTSealerCall
- func (c *CryptoSetupGet1RTTSealerCall) DoAndReturn(f func() (handshake.ShortHeaderSealer, error)) *CryptoSetupGet1RTTSealerCall
- func (c *CryptoSetupGet1RTTSealerCall) Return(arg0 handshake.ShortHeaderSealer, arg1 error) *CryptoSetupGet1RTTSealerCall
- type CryptoSetupGetHandshakeOpenerCall
- func (c *CryptoSetupGetHandshakeOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGetHandshakeOpenerCall
- func (c *CryptoSetupGetHandshakeOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGetHandshakeOpenerCall
- func (c *CryptoSetupGetHandshakeOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *CryptoSetupGetHandshakeOpenerCall
- type CryptoSetupGetHandshakeSealerCall
- func (c *CryptoSetupGetHandshakeSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGetHandshakeSealerCall
- func (c *CryptoSetupGetHandshakeSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGetHandshakeSealerCall
- func (c *CryptoSetupGetHandshakeSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *CryptoSetupGetHandshakeSealerCall
- type CryptoSetupGetInitialOpenerCall
- func (c *CryptoSetupGetInitialOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGetInitialOpenerCall
- func (c *CryptoSetupGetInitialOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGetInitialOpenerCall
- func (c *CryptoSetupGetInitialOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *CryptoSetupGetInitialOpenerCall
- type CryptoSetupGetInitialSealerCall
- func (c *CryptoSetupGetInitialSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGetInitialSealerCall
- func (c *CryptoSetupGetInitialSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGetInitialSealerCall
- func (c *CryptoSetupGetInitialSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *CryptoSetupGetInitialSealerCall
- type CryptoSetupGetSessionTicketCall
- func (c *CryptoSetupGetSessionTicketCall) Do(f func() ([]byte, error)) *CryptoSetupGetSessionTicketCall
- func (c *CryptoSetupGetSessionTicketCall) DoAndReturn(f func() ([]byte, error)) *CryptoSetupGetSessionTicketCall
- func (c *CryptoSetupGetSessionTicketCall) Return(arg0 []byte, arg1 error) *CryptoSetupGetSessionTicketCall
- type CryptoSetupHandleMessageCall
- func (c *CryptoSetupHandleMessageCall) Do(f func([]byte, protocol.EncryptionLevel) error) *CryptoSetupHandleMessageCall
- func (c *CryptoSetupHandleMessageCall) DoAndReturn(f func([]byte, protocol.EncryptionLevel) error) *CryptoSetupHandleMessageCall
- func (c *CryptoSetupHandleMessageCall) Return(arg0 error) *CryptoSetupHandleMessageCall
- type CryptoSetupNextEventCall
- type CryptoSetupSetHandshakeConfirmedCall
- type CryptoSetupSetLargest1RTTAckedCall
- func (c *CryptoSetupSetLargest1RTTAckedCall) Do(f func(protocol.PacketNumber) error) *CryptoSetupSetLargest1RTTAckedCall
- func (c *CryptoSetupSetLargest1RTTAckedCall) DoAndReturn(f func(protocol.PacketNumber) error) *CryptoSetupSetLargest1RTTAckedCall
- func (c *CryptoSetupSetLargest1RTTAckedCall) Return(arg0 error) *CryptoSetupSetLargest1RTTAckedCall
- type CryptoSetupStartHandshakeCall
- type LongHeaderOpenerDecodePacketNumberCall
- func (c *LongHeaderOpenerDecodePacketNumberCall) Do(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *LongHeaderOpenerDecodePacketNumberCall
- func (c *LongHeaderOpenerDecodePacketNumberCall) DoAndReturn(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *LongHeaderOpenerDecodePacketNumberCall
- func (c *LongHeaderOpenerDecodePacketNumberCall) Return(arg0 protocol.PacketNumber) *LongHeaderOpenerDecodePacketNumberCall
- type LongHeaderOpenerDecryptHeaderCall
- func (c *LongHeaderOpenerDecryptHeaderCall) Do(f func([]byte, *byte, []byte)) *LongHeaderOpenerDecryptHeaderCall
- func (c *LongHeaderOpenerDecryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *LongHeaderOpenerDecryptHeaderCall
- func (c *LongHeaderOpenerDecryptHeaderCall) Return() *LongHeaderOpenerDecryptHeaderCall
- type LongHeaderOpenerOpenCall
- func (c *LongHeaderOpenerOpenCall) Do(f func([]byte, []byte, protocol.PacketNumber, []byte) ([]byte, error)) *LongHeaderOpenerOpenCall
- func (c *LongHeaderOpenerOpenCall) DoAndReturn(f func([]byte, []byte, protocol.PacketNumber, []byte) ([]byte, error)) *LongHeaderOpenerOpenCall
- func (c *LongHeaderOpenerOpenCall) Return(arg0 []byte, arg1 error) *LongHeaderOpenerOpenCall
- 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 MockConnectionFlowControllerMockRecorder
- func (mr *MockConnectionFlowControllerMockRecorder) AddBytesRead(arg0 any) *ConnectionFlowControllerAddBytesReadCall
- func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 any) *ConnectionFlowControllerAddBytesSentCall
- func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *ConnectionFlowControllerGetWindowUpdateCall
- func (mr *MockConnectionFlowControllerMockRecorder) IsNewlyBlocked() *ConnectionFlowControllerIsNewlyBlockedCall
- func (mr *MockConnectionFlowControllerMockRecorder) Reset() *ConnectionFlowControllerResetCall
- func (mr *MockConnectionFlowControllerMockRecorder) SendWindowSize() *ConnectionFlowControllerSendWindowSizeCall
- func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 any) *ConnectionFlowControllerUpdateSendWindowCall
- 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 MockCryptoSetupMockRecorder
- func (mr *MockCryptoSetupMockRecorder) ChangeConnectionID(arg0 any) *CryptoSetupChangeConnectionIDCall
- func (mr *MockCryptoSetupMockRecorder) Close() *CryptoSetupCloseCall
- func (mr *MockCryptoSetupMockRecorder) ConnectionState() *CryptoSetupConnectionStateCall
- func (mr *MockCryptoSetupMockRecorder) DiscardInitialKeys() *CryptoSetupDiscardInitialKeysCall
- func (mr *MockCryptoSetupMockRecorder) Get0RTTOpener() *CryptoSetupGet0RTTOpenerCall
- func (mr *MockCryptoSetupMockRecorder) Get0RTTSealer() *CryptoSetupGet0RTTSealerCall
- func (mr *MockCryptoSetupMockRecorder) Get1RTTOpener() *CryptoSetupGet1RTTOpenerCall
- func (mr *MockCryptoSetupMockRecorder) Get1RTTSealer() *CryptoSetupGet1RTTSealerCall
- func (mr *MockCryptoSetupMockRecorder) GetHandshakeOpener() *CryptoSetupGetHandshakeOpenerCall
- func (mr *MockCryptoSetupMockRecorder) GetHandshakeSealer() *CryptoSetupGetHandshakeSealerCall
- func (mr *MockCryptoSetupMockRecorder) GetInitialOpener() *CryptoSetupGetInitialOpenerCall
- func (mr *MockCryptoSetupMockRecorder) GetInitialSealer() *CryptoSetupGetInitialSealerCall
- func (mr *MockCryptoSetupMockRecorder) GetSessionTicket() *CryptoSetupGetSessionTicketCall
- func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 any) *CryptoSetupHandleMessageCall
- func (mr *MockCryptoSetupMockRecorder) NextEvent() *CryptoSetupNextEventCall
- func (mr *MockCryptoSetupMockRecorder) SetHandshakeConfirmed() *CryptoSetupSetHandshakeConfirmedCall
- func (mr *MockCryptoSetupMockRecorder) SetLargest1RTTAcked(arg0 any) *CryptoSetupSetLargest1RTTAckedCall
- func (mr *MockCryptoSetupMockRecorder) StartHandshake() *CryptoSetupStartHandshakeCall
- 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 MockLongHeaderOpenerMockRecorder
- func (mr *MockLongHeaderOpenerMockRecorder) DecodePacketNumber(arg0, arg1 any) *LongHeaderOpenerDecodePacketNumberCall
- func (mr *MockLongHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *LongHeaderOpenerDecryptHeaderCall
- func (mr *MockLongHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 any) *LongHeaderOpenerOpenCall
- 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 MockSendAlgorithmWithDebugInfosMockRecorder
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) CanSend(arg0 any) *SendAlgorithmWithDebugInfosCanSendCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow() *SendAlgorithmWithDebugInfosGetCongestionWindowCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget(arg0 any) *SendAlgorithmWithDebugInfosHasPacingBudgetCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery() *SendAlgorithmWithDebugInfosInRecoveryCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart() *SendAlgorithmWithDebugInfosInSlowStartCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart() *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent(arg0, arg1, arg2 any) *SendAlgorithmWithDebugInfosOnCongestionEventCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 any) *SendAlgorithmWithDebugInfosOnPacketAckedCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 any) *SendAlgorithmWithDebugInfosOnPacketSentCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout(arg0 any) *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize(arg0 any) *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend(arg0 any) *SendAlgorithmWithDebugInfosTimeUntilSendCall
- 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 MockShortHeaderOpenerMockRecorder
- func (mr *MockShortHeaderOpenerMockRecorder) DecodePacketNumber(arg0, arg1 any) *ShortHeaderOpenerDecodePacketNumberCall
- func (mr *MockShortHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *ShortHeaderOpenerDecryptHeaderCall
- func (mr *MockShortHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3, arg4, arg5 any) *ShortHeaderOpenerOpenCall
- 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 MockShortHeaderSealerMockRecorder
- func (mr *MockShortHeaderSealerMockRecorder) EncryptHeader(arg0, arg1, arg2 any) *ShortHeaderSealerEncryptHeaderCall
- func (mr *MockShortHeaderSealerMockRecorder) KeyPhase() *ShortHeaderSealerKeyPhaseCall
- func (mr *MockShortHeaderSealerMockRecorder) Overhead() *ShortHeaderSealerOverheadCall
- func (mr *MockShortHeaderSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 any) *ShortHeaderSealerSealCall
- 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 MockStreamFlowControllerMockRecorder
- func (mr *MockStreamFlowControllerMockRecorder) Abandon() *StreamFlowControllerAbandonCall
- func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 any) *StreamFlowControllerAddBytesReadCall
- func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 any) *StreamFlowControllerAddBytesSentCall
- func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *StreamFlowControllerGetWindowUpdateCall
- func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *StreamFlowControllerIsNewlyBlockedCall
- func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *StreamFlowControllerSendWindowSizeCall
- func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 any) *StreamFlowControllerUpdateHighestReceivedCall
- func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 any) *StreamFlowControllerUpdateSendWindowCall
- type SendAlgorithmWithDebugInfosCanSendCall
- func (c *SendAlgorithmWithDebugInfosCanSendCall) Do(f func(protocol.ByteCount) bool) *SendAlgorithmWithDebugInfosCanSendCall
- func (c *SendAlgorithmWithDebugInfosCanSendCall) DoAndReturn(f func(protocol.ByteCount) bool) *SendAlgorithmWithDebugInfosCanSendCall
- func (c *SendAlgorithmWithDebugInfosCanSendCall) Return(arg0 bool) *SendAlgorithmWithDebugInfosCanSendCall
- type SendAlgorithmWithDebugInfosGetCongestionWindowCall
- func (c *SendAlgorithmWithDebugInfosGetCongestionWindowCall) Do(f func() protocol.ByteCount) *SendAlgorithmWithDebugInfosGetCongestionWindowCall
- func (c *SendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn(f func() protocol.ByteCount) *SendAlgorithmWithDebugInfosGetCongestionWindowCall
- func (c *SendAlgorithmWithDebugInfosGetCongestionWindowCall) Return(arg0 protocol.ByteCount) *SendAlgorithmWithDebugInfosGetCongestionWindowCall
- type SendAlgorithmWithDebugInfosHasPacingBudgetCall
- func (c *SendAlgorithmWithDebugInfosHasPacingBudgetCall) Do(f func(time.Time) bool) *SendAlgorithmWithDebugInfosHasPacingBudgetCall
- func (c *SendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn(f func(time.Time) bool) *SendAlgorithmWithDebugInfosHasPacingBudgetCall
- func (c *SendAlgorithmWithDebugInfosHasPacingBudgetCall) Return(arg0 bool) *SendAlgorithmWithDebugInfosHasPacingBudgetCall
- type SendAlgorithmWithDebugInfosInRecoveryCall
- func (c *SendAlgorithmWithDebugInfosInRecoveryCall) Do(f func() bool) *SendAlgorithmWithDebugInfosInRecoveryCall
- func (c *SendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn(f func() bool) *SendAlgorithmWithDebugInfosInRecoveryCall
- func (c *SendAlgorithmWithDebugInfosInRecoveryCall) Return(arg0 bool) *SendAlgorithmWithDebugInfosInRecoveryCall
- type SendAlgorithmWithDebugInfosInSlowStartCall
- func (c *SendAlgorithmWithDebugInfosInSlowStartCall) Do(f func() bool) *SendAlgorithmWithDebugInfosInSlowStartCall
- func (c *SendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn(f func() bool) *SendAlgorithmWithDebugInfosInSlowStartCall
- func (c *SendAlgorithmWithDebugInfosInSlowStartCall) Return(arg0 bool) *SendAlgorithmWithDebugInfosInSlowStartCall
- type SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- func (c *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do(f func()) *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- func (c *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn(f func()) *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- func (c *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return() *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
- type SendAlgorithmWithDebugInfosOnCongestionEventCall
- func (c *SendAlgorithmWithDebugInfosOnCongestionEventCall) Do(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *SendAlgorithmWithDebugInfosOnCongestionEventCall
- func (c *SendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *SendAlgorithmWithDebugInfosOnCongestionEventCall
- func (c *SendAlgorithmWithDebugInfosOnCongestionEventCall) Return() *SendAlgorithmWithDebugInfosOnCongestionEventCall
- type SendAlgorithmWithDebugInfosOnPacketAckedCall
- func (c *SendAlgorithmWithDebugInfosOnPacketAckedCall) Do(...) *SendAlgorithmWithDebugInfosOnPacketAckedCall
- func (c *SendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn(...) *SendAlgorithmWithDebugInfosOnPacketAckedCall
- func (c *SendAlgorithmWithDebugInfosOnPacketAckedCall) Return() *SendAlgorithmWithDebugInfosOnPacketAckedCall
- type SendAlgorithmWithDebugInfosOnPacketSentCall
- func (c *SendAlgorithmWithDebugInfosOnPacketSentCall) Do(...) *SendAlgorithmWithDebugInfosOnPacketSentCall
- func (c *SendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn(...) *SendAlgorithmWithDebugInfosOnPacketSentCall
- func (c *SendAlgorithmWithDebugInfosOnPacketSentCall) Return() *SendAlgorithmWithDebugInfosOnPacketSentCall
- type SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- func (c *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do(f func(bool)) *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- func (c *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn(f func(bool)) *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- func (c *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return() *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
- type SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- func (c *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- func (c *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- func (c *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return() *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
- type SendAlgorithmWithDebugInfosTimeUntilSendCall
- func (c *SendAlgorithmWithDebugInfosTimeUntilSendCall) Do(f func(protocol.ByteCount) time.Time) *SendAlgorithmWithDebugInfosTimeUntilSendCall
- func (c *SendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn(f func(protocol.ByteCount) time.Time) *SendAlgorithmWithDebugInfosTimeUntilSendCall
- func (c *SendAlgorithmWithDebugInfosTimeUntilSendCall) Return(arg0 time.Time) *SendAlgorithmWithDebugInfosTimeUntilSendCall
- type ShortHeaderOpenerDecodePacketNumberCall
- func (c *ShortHeaderOpenerDecodePacketNumberCall) Do(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *ShortHeaderOpenerDecodePacketNumberCall
- func (c *ShortHeaderOpenerDecodePacketNumberCall) DoAndReturn(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *ShortHeaderOpenerDecodePacketNumberCall
- func (c *ShortHeaderOpenerDecodePacketNumberCall) Return(arg0 protocol.PacketNumber) *ShortHeaderOpenerDecodePacketNumberCall
- type ShortHeaderOpenerDecryptHeaderCall
- func (c *ShortHeaderOpenerDecryptHeaderCall) Do(f func([]byte, *byte, []byte)) *ShortHeaderOpenerDecryptHeaderCall
- func (c *ShortHeaderOpenerDecryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *ShortHeaderOpenerDecryptHeaderCall
- func (c *ShortHeaderOpenerDecryptHeaderCall) Return() *ShortHeaderOpenerDecryptHeaderCall
- type ShortHeaderOpenerOpenCall
- type ShortHeaderSealerEncryptHeaderCall
- func (c *ShortHeaderSealerEncryptHeaderCall) Do(f func([]byte, *byte, []byte)) *ShortHeaderSealerEncryptHeaderCall
- func (c *ShortHeaderSealerEncryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *ShortHeaderSealerEncryptHeaderCall
- func (c *ShortHeaderSealerEncryptHeaderCall) Return() *ShortHeaderSealerEncryptHeaderCall
- type ShortHeaderSealerKeyPhaseCall
- func (c *ShortHeaderSealerKeyPhaseCall) Do(f func() protocol.KeyPhaseBit) *ShortHeaderSealerKeyPhaseCall
- func (c *ShortHeaderSealerKeyPhaseCall) DoAndReturn(f func() protocol.KeyPhaseBit) *ShortHeaderSealerKeyPhaseCall
- func (c *ShortHeaderSealerKeyPhaseCall) Return(arg0 protocol.KeyPhaseBit) *ShortHeaderSealerKeyPhaseCall
- type ShortHeaderSealerOverheadCall
- type ShortHeaderSealerSealCall
- func (c *ShortHeaderSealerSealCall) Do(f func([]byte, []byte, protocol.PacketNumber, []byte) []byte) *ShortHeaderSealerSealCall
- func (c *ShortHeaderSealerSealCall) DoAndReturn(f func([]byte, []byte, protocol.PacketNumber, []byte) []byte) *ShortHeaderSealerSealCall
- func (c *ShortHeaderSealerSealCall) Return(arg0 []byte) *ShortHeaderSealerSealCall
- type StreamFlowControllerAbandonCall
- type StreamFlowControllerAddBytesReadCall
- func (c *StreamFlowControllerAddBytesReadCall) Do(f func(protocol.ByteCount)) *StreamFlowControllerAddBytesReadCall
- func (c *StreamFlowControllerAddBytesReadCall) DoAndReturn(f func(protocol.ByteCount)) *StreamFlowControllerAddBytesReadCall
- func (c *StreamFlowControllerAddBytesReadCall) Return() *StreamFlowControllerAddBytesReadCall
- type StreamFlowControllerAddBytesSentCall
- func (c *StreamFlowControllerAddBytesSentCall) Do(f func(protocol.ByteCount)) *StreamFlowControllerAddBytesSentCall
- func (c *StreamFlowControllerAddBytesSentCall) DoAndReturn(f func(protocol.ByteCount)) *StreamFlowControllerAddBytesSentCall
- func (c *StreamFlowControllerAddBytesSentCall) Return() *StreamFlowControllerAddBytesSentCall
- type StreamFlowControllerGetWindowUpdateCall
- func (c *StreamFlowControllerGetWindowUpdateCall) Do(f func() protocol.ByteCount) *StreamFlowControllerGetWindowUpdateCall
- func (c *StreamFlowControllerGetWindowUpdateCall) DoAndReturn(f func() protocol.ByteCount) *StreamFlowControllerGetWindowUpdateCall
- func (c *StreamFlowControllerGetWindowUpdateCall) Return(arg0 protocol.ByteCount) *StreamFlowControllerGetWindowUpdateCall
- type StreamFlowControllerIsNewlyBlockedCall
- func (c *StreamFlowControllerIsNewlyBlockedCall) Do(f func() (bool, protocol.ByteCount)) *StreamFlowControllerIsNewlyBlockedCall
- func (c *StreamFlowControllerIsNewlyBlockedCall) DoAndReturn(f func() (bool, protocol.ByteCount)) *StreamFlowControllerIsNewlyBlockedCall
- func (c *StreamFlowControllerIsNewlyBlockedCall) Return(arg0 bool, arg1 protocol.ByteCount) *StreamFlowControllerIsNewlyBlockedCall
- type StreamFlowControllerSendWindowSizeCall
- func (c *StreamFlowControllerSendWindowSizeCall) Do(f func() protocol.ByteCount) *StreamFlowControllerSendWindowSizeCall
- func (c *StreamFlowControllerSendWindowSizeCall) DoAndReturn(f func() protocol.ByteCount) *StreamFlowControllerSendWindowSizeCall
- func (c *StreamFlowControllerSendWindowSizeCall) Return(arg0 protocol.ByteCount) *StreamFlowControllerSendWindowSizeCall
- type StreamFlowControllerUpdateHighestReceivedCall
- func (c *StreamFlowControllerUpdateHighestReceivedCall) Do(f func(protocol.ByteCount, bool) error) *StreamFlowControllerUpdateHighestReceivedCall
- func (c *StreamFlowControllerUpdateHighestReceivedCall) DoAndReturn(f func(protocol.ByteCount, bool) error) *StreamFlowControllerUpdateHighestReceivedCall
- func (c *StreamFlowControllerUpdateHighestReceivedCall) Return(arg0 error) *StreamFlowControllerUpdateHighestReceivedCall
- type StreamFlowControllerUpdateSendWindowCall
- func (c *StreamFlowControllerUpdateSendWindowCall) Do(f func(protocol.ByteCount) bool) *StreamFlowControllerUpdateSendWindowCall
- func (c *StreamFlowControllerUpdateSendWindowCall) DoAndReturn(f func(protocol.ByteCount) bool) *StreamFlowControllerUpdateSendWindowCall
- func (c *StreamFlowControllerUpdateSendWindowCall) Return(arg0 bool) *StreamFlowControllerUpdateSendWindowCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionFlowControllerAddBytesReadCall ¶
ConnectionFlowControllerAddBytesReadCall wrap *gomock.Call
func (*ConnectionFlowControllerAddBytesReadCall) Do ¶
func (c *ConnectionFlowControllerAddBytesReadCall) Do(f func(protocol.ByteCount)) *ConnectionFlowControllerAddBytesReadCall
Do rewrite *gomock.Call.Do
func (*ConnectionFlowControllerAddBytesReadCall) DoAndReturn ¶
func (c *ConnectionFlowControllerAddBytesReadCall) DoAndReturn(f func(protocol.ByteCount)) *ConnectionFlowControllerAddBytesReadCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectionFlowControllerAddBytesReadCall) Return ¶
func (c *ConnectionFlowControllerAddBytesReadCall) Return() *ConnectionFlowControllerAddBytesReadCall
Return rewrite *gomock.Call.Return
type ConnectionFlowControllerAddBytesSentCall ¶
ConnectionFlowControllerAddBytesSentCall wrap *gomock.Call
func (*ConnectionFlowControllerAddBytesSentCall) Do ¶
func (c *ConnectionFlowControllerAddBytesSentCall) Do(f func(protocol.ByteCount)) *ConnectionFlowControllerAddBytesSentCall
Do rewrite *gomock.Call.Do
func (*ConnectionFlowControllerAddBytesSentCall) DoAndReturn ¶
func (c *ConnectionFlowControllerAddBytesSentCall) DoAndReturn(f func(protocol.ByteCount)) *ConnectionFlowControllerAddBytesSentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectionFlowControllerAddBytesSentCall) Return ¶
func (c *ConnectionFlowControllerAddBytesSentCall) Return() *ConnectionFlowControllerAddBytesSentCall
Return rewrite *gomock.Call.Return
type ConnectionFlowControllerGetWindowUpdateCall ¶
ConnectionFlowControllerGetWindowUpdateCall wrap *gomock.Call
func (*ConnectionFlowControllerGetWindowUpdateCall) Do ¶
func (c *ConnectionFlowControllerGetWindowUpdateCall) Do(f func() protocol.ByteCount) *ConnectionFlowControllerGetWindowUpdateCall
Do rewrite *gomock.Call.Do
func (*ConnectionFlowControllerGetWindowUpdateCall) DoAndReturn ¶
func (c *ConnectionFlowControllerGetWindowUpdateCall) DoAndReturn(f func() protocol.ByteCount) *ConnectionFlowControllerGetWindowUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectionFlowControllerGetWindowUpdateCall) Return ¶
func (c *ConnectionFlowControllerGetWindowUpdateCall) Return(arg0 protocol.ByteCount) *ConnectionFlowControllerGetWindowUpdateCall
Return rewrite *gomock.Call.Return
type ConnectionFlowControllerIsNewlyBlockedCall ¶
ConnectionFlowControllerIsNewlyBlockedCall wrap *gomock.Call
func (*ConnectionFlowControllerIsNewlyBlockedCall) Do ¶
func (c *ConnectionFlowControllerIsNewlyBlockedCall) Do(f func() (bool, protocol.ByteCount)) *ConnectionFlowControllerIsNewlyBlockedCall
Do rewrite *gomock.Call.Do
func (*ConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn ¶
func (c *ConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn(f func() (bool, protocol.ByteCount)) *ConnectionFlowControllerIsNewlyBlockedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectionFlowControllerIsNewlyBlockedCall) Return ¶
func (c *ConnectionFlowControllerIsNewlyBlockedCall) Return(arg0 bool, arg1 protocol.ByteCount) *ConnectionFlowControllerIsNewlyBlockedCall
Return rewrite *gomock.Call.Return
type ConnectionFlowControllerResetCall ¶
ConnectionFlowControllerResetCall wrap *gomock.Call
func (*ConnectionFlowControllerResetCall) Do ¶
func (c *ConnectionFlowControllerResetCall) Do(f func() error) *ConnectionFlowControllerResetCall
Do rewrite *gomock.Call.Do
func (*ConnectionFlowControllerResetCall) DoAndReturn ¶
func (c *ConnectionFlowControllerResetCall) DoAndReturn(f func() error) *ConnectionFlowControllerResetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectionFlowControllerResetCall) Return ¶
func (c *ConnectionFlowControllerResetCall) Return(arg0 error) *ConnectionFlowControllerResetCall
Return rewrite *gomock.Call.Return
type ConnectionFlowControllerSendWindowSizeCall ¶
ConnectionFlowControllerSendWindowSizeCall wrap *gomock.Call
func (*ConnectionFlowControllerSendWindowSizeCall) Do ¶
func (c *ConnectionFlowControllerSendWindowSizeCall) Do(f func() protocol.ByteCount) *ConnectionFlowControllerSendWindowSizeCall
Do rewrite *gomock.Call.Do
func (*ConnectionFlowControllerSendWindowSizeCall) DoAndReturn ¶
func (c *ConnectionFlowControllerSendWindowSizeCall) DoAndReturn(f func() protocol.ByteCount) *ConnectionFlowControllerSendWindowSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectionFlowControllerSendWindowSizeCall) Return ¶
func (c *ConnectionFlowControllerSendWindowSizeCall) Return(arg0 protocol.ByteCount) *ConnectionFlowControllerSendWindowSizeCall
Return rewrite *gomock.Call.Return
type ConnectionFlowControllerUpdateSendWindowCall ¶
ConnectionFlowControllerUpdateSendWindowCall wrap *gomock.Call
func (*ConnectionFlowControllerUpdateSendWindowCall) Do ¶
func (c *ConnectionFlowControllerUpdateSendWindowCall) Do(f func(protocol.ByteCount) bool) *ConnectionFlowControllerUpdateSendWindowCall
Do rewrite *gomock.Call.Do
func (*ConnectionFlowControllerUpdateSendWindowCall) DoAndReturn ¶
func (c *ConnectionFlowControllerUpdateSendWindowCall) DoAndReturn(f func(protocol.ByteCount) bool) *ConnectionFlowControllerUpdateSendWindowCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectionFlowControllerUpdateSendWindowCall) Return ¶
func (c *ConnectionFlowControllerUpdateSendWindowCall) Return(arg0 bool) *ConnectionFlowControllerUpdateSendWindowCall
Return rewrite *gomock.Call.Return
type CryptoSetupChangeConnectionIDCall ¶
CryptoSetupChangeConnectionIDCall wrap *gomock.Call
func (*CryptoSetupChangeConnectionIDCall) Do ¶
func (c *CryptoSetupChangeConnectionIDCall) Do(f func(protocol.ConnectionID)) *CryptoSetupChangeConnectionIDCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupChangeConnectionIDCall) DoAndReturn ¶
func (c *CryptoSetupChangeConnectionIDCall) DoAndReturn(f func(protocol.ConnectionID)) *CryptoSetupChangeConnectionIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupChangeConnectionIDCall) Return ¶
func (c *CryptoSetupChangeConnectionIDCall) Return() *CryptoSetupChangeConnectionIDCall
Return rewrite *gomock.Call.Return
type CryptoSetupCloseCall ¶
CryptoSetupCloseCall wrap *gomock.Call
func (*CryptoSetupCloseCall) Do ¶
func (c *CryptoSetupCloseCall) Do(f func() error) *CryptoSetupCloseCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupCloseCall) DoAndReturn ¶
func (c *CryptoSetupCloseCall) DoAndReturn(f func() error) *CryptoSetupCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupCloseCall) Return ¶
func (c *CryptoSetupCloseCall) Return(arg0 error) *CryptoSetupCloseCall
Return rewrite *gomock.Call.Return
type CryptoSetupConnectionStateCall ¶
CryptoSetupConnectionStateCall wrap *gomock.Call
func (*CryptoSetupConnectionStateCall) Do ¶
func (c *CryptoSetupConnectionStateCall) Do(f func() handshake.ConnectionState) *CryptoSetupConnectionStateCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupConnectionStateCall) DoAndReturn ¶
func (c *CryptoSetupConnectionStateCall) DoAndReturn(f func() handshake.ConnectionState) *CryptoSetupConnectionStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupConnectionStateCall) Return ¶
func (c *CryptoSetupConnectionStateCall) Return(arg0 handshake.ConnectionState) *CryptoSetupConnectionStateCall
Return rewrite *gomock.Call.Return
type CryptoSetupDiscardInitialKeysCall ¶
CryptoSetupDiscardInitialKeysCall wrap *gomock.Call
func (*CryptoSetupDiscardInitialKeysCall) Do ¶
func (c *CryptoSetupDiscardInitialKeysCall) Do(f func()) *CryptoSetupDiscardInitialKeysCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupDiscardInitialKeysCall) DoAndReturn ¶
func (c *CryptoSetupDiscardInitialKeysCall) DoAndReturn(f func()) *CryptoSetupDiscardInitialKeysCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupDiscardInitialKeysCall) Return ¶
func (c *CryptoSetupDiscardInitialKeysCall) Return() *CryptoSetupDiscardInitialKeysCall
Return rewrite *gomock.Call.Return
type CryptoSetupGet0RTTOpenerCall ¶
CryptoSetupGet0RTTOpenerCall wrap *gomock.Call
func (*CryptoSetupGet0RTTOpenerCall) Do ¶
func (c *CryptoSetupGet0RTTOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGet0RTTOpenerCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGet0RTTOpenerCall) DoAndReturn ¶
func (c *CryptoSetupGet0RTTOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGet0RTTOpenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGet0RTTOpenerCall) Return ¶
func (c *CryptoSetupGet0RTTOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *CryptoSetupGet0RTTOpenerCall
Return rewrite *gomock.Call.Return
type CryptoSetupGet0RTTSealerCall ¶
CryptoSetupGet0RTTSealerCall wrap *gomock.Call
func (*CryptoSetupGet0RTTSealerCall) Do ¶
func (c *CryptoSetupGet0RTTSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGet0RTTSealerCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGet0RTTSealerCall) DoAndReturn ¶
func (c *CryptoSetupGet0RTTSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGet0RTTSealerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGet0RTTSealerCall) Return ¶
func (c *CryptoSetupGet0RTTSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *CryptoSetupGet0RTTSealerCall
Return rewrite *gomock.Call.Return
type CryptoSetupGet1RTTOpenerCall ¶
CryptoSetupGet1RTTOpenerCall wrap *gomock.Call
func (*CryptoSetupGet1RTTOpenerCall) Do ¶
func (c *CryptoSetupGet1RTTOpenerCall) Do(f func() (handshake.ShortHeaderOpener, error)) *CryptoSetupGet1RTTOpenerCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGet1RTTOpenerCall) DoAndReturn ¶
func (c *CryptoSetupGet1RTTOpenerCall) DoAndReturn(f func() (handshake.ShortHeaderOpener, error)) *CryptoSetupGet1RTTOpenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGet1RTTOpenerCall) Return ¶
func (c *CryptoSetupGet1RTTOpenerCall) Return(arg0 handshake.ShortHeaderOpener, arg1 error) *CryptoSetupGet1RTTOpenerCall
Return rewrite *gomock.Call.Return
type CryptoSetupGet1RTTSealerCall ¶
CryptoSetupGet1RTTSealerCall wrap *gomock.Call
func (*CryptoSetupGet1RTTSealerCall) Do ¶
func (c *CryptoSetupGet1RTTSealerCall) Do(f func() (handshake.ShortHeaderSealer, error)) *CryptoSetupGet1RTTSealerCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGet1RTTSealerCall) DoAndReturn ¶
func (c *CryptoSetupGet1RTTSealerCall) DoAndReturn(f func() (handshake.ShortHeaderSealer, error)) *CryptoSetupGet1RTTSealerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGet1RTTSealerCall) Return ¶
func (c *CryptoSetupGet1RTTSealerCall) Return(arg0 handshake.ShortHeaderSealer, arg1 error) *CryptoSetupGet1RTTSealerCall
Return rewrite *gomock.Call.Return
type CryptoSetupGetHandshakeOpenerCall ¶
CryptoSetupGetHandshakeOpenerCall wrap *gomock.Call
func (*CryptoSetupGetHandshakeOpenerCall) Do ¶
func (c *CryptoSetupGetHandshakeOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGetHandshakeOpenerCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGetHandshakeOpenerCall) DoAndReturn ¶
func (c *CryptoSetupGetHandshakeOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGetHandshakeOpenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGetHandshakeOpenerCall) Return ¶
func (c *CryptoSetupGetHandshakeOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *CryptoSetupGetHandshakeOpenerCall
Return rewrite *gomock.Call.Return
type CryptoSetupGetHandshakeSealerCall ¶
CryptoSetupGetHandshakeSealerCall wrap *gomock.Call
func (*CryptoSetupGetHandshakeSealerCall) Do ¶
func (c *CryptoSetupGetHandshakeSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGetHandshakeSealerCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGetHandshakeSealerCall) DoAndReturn ¶
func (c *CryptoSetupGetHandshakeSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGetHandshakeSealerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGetHandshakeSealerCall) Return ¶
func (c *CryptoSetupGetHandshakeSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *CryptoSetupGetHandshakeSealerCall
Return rewrite *gomock.Call.Return
type CryptoSetupGetInitialOpenerCall ¶
CryptoSetupGetInitialOpenerCall wrap *gomock.Call
func (*CryptoSetupGetInitialOpenerCall) Do ¶
func (c *CryptoSetupGetInitialOpenerCall) Do(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGetInitialOpenerCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGetInitialOpenerCall) DoAndReturn ¶
func (c *CryptoSetupGetInitialOpenerCall) DoAndReturn(f func() (handshake.LongHeaderOpener, error)) *CryptoSetupGetInitialOpenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGetInitialOpenerCall) Return ¶
func (c *CryptoSetupGetInitialOpenerCall) Return(arg0 handshake.LongHeaderOpener, arg1 error) *CryptoSetupGetInitialOpenerCall
Return rewrite *gomock.Call.Return
type CryptoSetupGetInitialSealerCall ¶
CryptoSetupGetInitialSealerCall wrap *gomock.Call
func (*CryptoSetupGetInitialSealerCall) Do ¶
func (c *CryptoSetupGetInitialSealerCall) Do(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGetInitialSealerCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGetInitialSealerCall) DoAndReturn ¶
func (c *CryptoSetupGetInitialSealerCall) DoAndReturn(f func() (handshake.LongHeaderSealer, error)) *CryptoSetupGetInitialSealerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGetInitialSealerCall) Return ¶
func (c *CryptoSetupGetInitialSealerCall) Return(arg0 handshake.LongHeaderSealer, arg1 error) *CryptoSetupGetInitialSealerCall
Return rewrite *gomock.Call.Return
type CryptoSetupGetSessionTicketCall ¶
CryptoSetupGetSessionTicketCall wrap *gomock.Call
func (*CryptoSetupGetSessionTicketCall) Do ¶
func (c *CryptoSetupGetSessionTicketCall) Do(f func() ([]byte, error)) *CryptoSetupGetSessionTicketCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupGetSessionTicketCall) DoAndReturn ¶
func (c *CryptoSetupGetSessionTicketCall) DoAndReturn(f func() ([]byte, error)) *CryptoSetupGetSessionTicketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupGetSessionTicketCall) Return ¶
func (c *CryptoSetupGetSessionTicketCall) Return(arg0 []byte, arg1 error) *CryptoSetupGetSessionTicketCall
Return rewrite *gomock.Call.Return
type CryptoSetupHandleMessageCall ¶
CryptoSetupHandleMessageCall wrap *gomock.Call
func (*CryptoSetupHandleMessageCall) Do ¶
func (c *CryptoSetupHandleMessageCall) Do(f func([]byte, protocol.EncryptionLevel) error) *CryptoSetupHandleMessageCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupHandleMessageCall) DoAndReturn ¶
func (c *CryptoSetupHandleMessageCall) DoAndReturn(f func([]byte, protocol.EncryptionLevel) error) *CryptoSetupHandleMessageCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupHandleMessageCall) Return ¶
func (c *CryptoSetupHandleMessageCall) Return(arg0 error) *CryptoSetupHandleMessageCall
Return rewrite *gomock.Call.Return
type CryptoSetupNextEventCall ¶
CryptoSetupNextEventCall wrap *gomock.Call
func (*CryptoSetupNextEventCall) Do ¶
func (c *CryptoSetupNextEventCall) Do(f func() handshake.Event) *CryptoSetupNextEventCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupNextEventCall) DoAndReturn ¶
func (c *CryptoSetupNextEventCall) DoAndReturn(f func() handshake.Event) *CryptoSetupNextEventCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupNextEventCall) Return ¶
func (c *CryptoSetupNextEventCall) Return(arg0 handshake.Event) *CryptoSetupNextEventCall
Return rewrite *gomock.Call.Return
type CryptoSetupSetHandshakeConfirmedCall ¶
CryptoSetupSetHandshakeConfirmedCall wrap *gomock.Call
func (*CryptoSetupSetHandshakeConfirmedCall) Do ¶
func (c *CryptoSetupSetHandshakeConfirmedCall) Do(f func()) *CryptoSetupSetHandshakeConfirmedCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupSetHandshakeConfirmedCall) DoAndReturn ¶
func (c *CryptoSetupSetHandshakeConfirmedCall) DoAndReturn(f func()) *CryptoSetupSetHandshakeConfirmedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupSetHandshakeConfirmedCall) Return ¶
func (c *CryptoSetupSetHandshakeConfirmedCall) Return() *CryptoSetupSetHandshakeConfirmedCall
Return rewrite *gomock.Call.Return
type CryptoSetupSetLargest1RTTAckedCall ¶
CryptoSetupSetLargest1RTTAckedCall wrap *gomock.Call
func (*CryptoSetupSetLargest1RTTAckedCall) Do ¶
func (c *CryptoSetupSetLargest1RTTAckedCall) Do(f func(protocol.PacketNumber) error) *CryptoSetupSetLargest1RTTAckedCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupSetLargest1RTTAckedCall) DoAndReturn ¶
func (c *CryptoSetupSetLargest1RTTAckedCall) DoAndReturn(f func(protocol.PacketNumber) error) *CryptoSetupSetLargest1RTTAckedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupSetLargest1RTTAckedCall) Return ¶
func (c *CryptoSetupSetLargest1RTTAckedCall) Return(arg0 error) *CryptoSetupSetLargest1RTTAckedCall
Return rewrite *gomock.Call.Return
type CryptoSetupStartHandshakeCall ¶
CryptoSetupStartHandshakeCall wrap *gomock.Call
func (*CryptoSetupStartHandshakeCall) Do ¶
func (c *CryptoSetupStartHandshakeCall) Do(f func() error) *CryptoSetupStartHandshakeCall
Do rewrite *gomock.Call.Do
func (*CryptoSetupStartHandshakeCall) DoAndReturn ¶
func (c *CryptoSetupStartHandshakeCall) DoAndReturn(f func() error) *CryptoSetupStartHandshakeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*CryptoSetupStartHandshakeCall) Return ¶
func (c *CryptoSetupStartHandshakeCall) Return(arg0 error) *CryptoSetupStartHandshakeCall
Return rewrite *gomock.Call.Return
type LongHeaderOpenerDecodePacketNumberCall ¶
LongHeaderOpenerDecodePacketNumberCall wrap *gomock.Call
func (*LongHeaderOpenerDecodePacketNumberCall) Do ¶
func (c *LongHeaderOpenerDecodePacketNumberCall) Do(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *LongHeaderOpenerDecodePacketNumberCall
Do rewrite *gomock.Call.Do
func (*LongHeaderOpenerDecodePacketNumberCall) DoAndReturn ¶
func (c *LongHeaderOpenerDecodePacketNumberCall) DoAndReturn(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *LongHeaderOpenerDecodePacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*LongHeaderOpenerDecodePacketNumberCall) Return ¶
func (c *LongHeaderOpenerDecodePacketNumberCall) Return(arg0 protocol.PacketNumber) *LongHeaderOpenerDecodePacketNumberCall
Return rewrite *gomock.Call.Return
type LongHeaderOpenerDecryptHeaderCall ¶
LongHeaderOpenerDecryptHeaderCall wrap *gomock.Call
func (*LongHeaderOpenerDecryptHeaderCall) Do ¶
func (c *LongHeaderOpenerDecryptHeaderCall) Do(f func([]byte, *byte, []byte)) *LongHeaderOpenerDecryptHeaderCall
Do rewrite *gomock.Call.Do
func (*LongHeaderOpenerDecryptHeaderCall) DoAndReturn ¶
func (c *LongHeaderOpenerDecryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *LongHeaderOpenerDecryptHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*LongHeaderOpenerDecryptHeaderCall) Return ¶
func (c *LongHeaderOpenerDecryptHeaderCall) Return() *LongHeaderOpenerDecryptHeaderCall
Return rewrite *gomock.Call.Return
type LongHeaderOpenerOpenCall ¶
LongHeaderOpenerOpenCall wrap *gomock.Call
func (*LongHeaderOpenerOpenCall) Do ¶
func (c *LongHeaderOpenerOpenCall) Do(f func([]byte, []byte, protocol.PacketNumber, []byte) ([]byte, error)) *LongHeaderOpenerOpenCall
Do rewrite *gomock.Call.Do
func (*LongHeaderOpenerOpenCall) DoAndReturn ¶
func (c *LongHeaderOpenerOpenCall) DoAndReturn(f func([]byte, []byte, protocol.PacketNumber, []byte) ([]byte, error)) *LongHeaderOpenerOpenCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*LongHeaderOpenerOpenCall) Return ¶
func (c *LongHeaderOpenerOpenCall) Return(arg0 []byte, arg1 error) *LongHeaderOpenerOpenCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
IsNewlyBlocked mocks base method.
func (*MockConnectionFlowController) Reset ¶
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 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) *ConnectionFlowControllerAddBytesReadCall
AddBytesRead indicates an expected call of AddBytesRead.
func (*MockConnectionFlowControllerMockRecorder) AddBytesSent ¶
func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 any) *ConnectionFlowControllerAddBytesSentCall
AddBytesSent indicates an expected call of AddBytesSent.
func (*MockConnectionFlowControllerMockRecorder) GetWindowUpdate ¶
func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *ConnectionFlowControllerGetWindowUpdateCall
GetWindowUpdate indicates an expected call of GetWindowUpdate.
func (*MockConnectionFlowControllerMockRecorder) IsNewlyBlocked ¶
func (mr *MockConnectionFlowControllerMockRecorder) IsNewlyBlocked() *ConnectionFlowControllerIsNewlyBlockedCall
IsNewlyBlocked indicates an expected call of IsNewlyBlocked.
func (*MockConnectionFlowControllerMockRecorder) Reset ¶
func (mr *MockConnectionFlowControllerMockRecorder) Reset() *ConnectionFlowControllerResetCall
Reset indicates an expected call of Reset.
func (*MockConnectionFlowControllerMockRecorder) SendWindowSize ¶
func (mr *MockConnectionFlowControllerMockRecorder) SendWindowSize() *ConnectionFlowControllerSendWindowSizeCall
SendWindowSize indicates an expected call of SendWindowSize.
func (*MockConnectionFlowControllerMockRecorder) UpdateSendWindow ¶
func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 any) *ConnectionFlowControllerUpdateSendWindowCall
UpdateSendWindow indicates an expected call of UpdateSendWindow.
type MockCryptoSetup ¶
type MockCryptoSetup struct {
// contains filtered or unexported fields
}
MockCryptoSetup is a mock of CryptoSetup interface.
func NewMockCryptoSetup ¶
func NewMockCryptoSetup(ctrl *gomock.Controller) *MockCryptoSetup
NewMockCryptoSetup creates a new mock instance.
func (*MockCryptoSetup) ChangeConnectionID ¶
func (m *MockCryptoSetup) ChangeConnectionID(arg0 protocol.ConnectionID)
ChangeConnectionID mocks base method.
func (*MockCryptoSetup) ConnectionState ¶
func (m *MockCryptoSetup) ConnectionState() handshake.ConnectionState
ConnectionState mocks base method.
func (*MockCryptoSetup) DiscardInitialKeys ¶
func (m *MockCryptoSetup) DiscardInitialKeys()
DiscardInitialKeys mocks base method.
func (*MockCryptoSetup) EXPECT ¶
func (m *MockCryptoSetup) EXPECT() *MockCryptoSetupMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCryptoSetup) Get0RTTOpener ¶
func (m *MockCryptoSetup) Get0RTTOpener() (handshake.LongHeaderOpener, error)
Get0RTTOpener mocks base method.
func (*MockCryptoSetup) Get0RTTSealer ¶
func (m *MockCryptoSetup) Get0RTTSealer() (handshake.LongHeaderSealer, error)
Get0RTTSealer mocks base method.
func (*MockCryptoSetup) Get1RTTOpener ¶
func (m *MockCryptoSetup) Get1RTTOpener() (handshake.ShortHeaderOpener, error)
Get1RTTOpener mocks base method.
func (*MockCryptoSetup) Get1RTTSealer ¶
func (m *MockCryptoSetup) Get1RTTSealer() (handshake.ShortHeaderSealer, error)
Get1RTTSealer mocks base method.
func (*MockCryptoSetup) GetHandshakeOpener ¶
func (m *MockCryptoSetup) GetHandshakeOpener() (handshake.LongHeaderOpener, error)
GetHandshakeOpener mocks base method.
func (*MockCryptoSetup) GetHandshakeSealer ¶
func (m *MockCryptoSetup) GetHandshakeSealer() (handshake.LongHeaderSealer, error)
GetHandshakeSealer mocks base method.
func (*MockCryptoSetup) GetInitialOpener ¶
func (m *MockCryptoSetup) GetInitialOpener() (handshake.LongHeaderOpener, error)
GetInitialOpener mocks base method.
func (*MockCryptoSetup) GetInitialSealer ¶
func (m *MockCryptoSetup) GetInitialSealer() (handshake.LongHeaderSealer, error)
GetInitialSealer mocks base method.
func (*MockCryptoSetup) GetSessionTicket ¶
func (m *MockCryptoSetup) GetSessionTicket() ([]byte, error)
GetSessionTicket mocks base method.
func (*MockCryptoSetup) HandleMessage ¶
func (m *MockCryptoSetup) HandleMessage(arg0 []byte, arg1 protocol.EncryptionLevel) error
HandleMessage mocks base method.
func (*MockCryptoSetup) NextEvent ¶
func (m *MockCryptoSetup) NextEvent() handshake.Event
NextEvent mocks base method.
func (*MockCryptoSetup) SetHandshakeConfirmed ¶
func (m *MockCryptoSetup) SetHandshakeConfirmed()
SetHandshakeConfirmed mocks base method.
func (*MockCryptoSetup) SetLargest1RTTAcked ¶
func (m *MockCryptoSetup) SetLargest1RTTAcked(arg0 protocol.PacketNumber) error
SetLargest1RTTAcked mocks base method.
func (*MockCryptoSetup) StartHandshake ¶
func (m *MockCryptoSetup) StartHandshake() error
StartHandshake mocks base method.
type MockCryptoSetupMockRecorder ¶
type MockCryptoSetupMockRecorder struct {
// contains filtered or unexported fields
}
MockCryptoSetupMockRecorder is the mock recorder for MockCryptoSetup.
func (*MockCryptoSetupMockRecorder) ChangeConnectionID ¶
func (mr *MockCryptoSetupMockRecorder) ChangeConnectionID(arg0 any) *CryptoSetupChangeConnectionIDCall
ChangeConnectionID indicates an expected call of ChangeConnectionID.
func (*MockCryptoSetupMockRecorder) Close ¶
func (mr *MockCryptoSetupMockRecorder) Close() *CryptoSetupCloseCall
Close indicates an expected call of Close.
func (*MockCryptoSetupMockRecorder) ConnectionState ¶
func (mr *MockCryptoSetupMockRecorder) ConnectionState() *CryptoSetupConnectionStateCall
ConnectionState indicates an expected call of ConnectionState.
func (*MockCryptoSetupMockRecorder) DiscardInitialKeys ¶
func (mr *MockCryptoSetupMockRecorder) DiscardInitialKeys() *CryptoSetupDiscardInitialKeysCall
DiscardInitialKeys indicates an expected call of DiscardInitialKeys.
func (*MockCryptoSetupMockRecorder) Get0RTTOpener ¶
func (mr *MockCryptoSetupMockRecorder) Get0RTTOpener() *CryptoSetupGet0RTTOpenerCall
Get0RTTOpener indicates an expected call of Get0RTTOpener.
func (*MockCryptoSetupMockRecorder) Get0RTTSealer ¶
func (mr *MockCryptoSetupMockRecorder) Get0RTTSealer() *CryptoSetupGet0RTTSealerCall
Get0RTTSealer indicates an expected call of Get0RTTSealer.
func (*MockCryptoSetupMockRecorder) Get1RTTOpener ¶
func (mr *MockCryptoSetupMockRecorder) Get1RTTOpener() *CryptoSetupGet1RTTOpenerCall
Get1RTTOpener indicates an expected call of Get1RTTOpener.
func (*MockCryptoSetupMockRecorder) Get1RTTSealer ¶
func (mr *MockCryptoSetupMockRecorder) Get1RTTSealer() *CryptoSetupGet1RTTSealerCall
Get1RTTSealer indicates an expected call of Get1RTTSealer.
func (*MockCryptoSetupMockRecorder) GetHandshakeOpener ¶
func (mr *MockCryptoSetupMockRecorder) GetHandshakeOpener() *CryptoSetupGetHandshakeOpenerCall
GetHandshakeOpener indicates an expected call of GetHandshakeOpener.
func (*MockCryptoSetupMockRecorder) GetHandshakeSealer ¶
func (mr *MockCryptoSetupMockRecorder) GetHandshakeSealer() *CryptoSetupGetHandshakeSealerCall
GetHandshakeSealer indicates an expected call of GetHandshakeSealer.
func (*MockCryptoSetupMockRecorder) GetInitialOpener ¶
func (mr *MockCryptoSetupMockRecorder) GetInitialOpener() *CryptoSetupGetInitialOpenerCall
GetInitialOpener indicates an expected call of GetInitialOpener.
func (*MockCryptoSetupMockRecorder) GetInitialSealer ¶
func (mr *MockCryptoSetupMockRecorder) GetInitialSealer() *CryptoSetupGetInitialSealerCall
GetInitialSealer indicates an expected call of GetInitialSealer.
func (*MockCryptoSetupMockRecorder) GetSessionTicket ¶
func (mr *MockCryptoSetupMockRecorder) GetSessionTicket() *CryptoSetupGetSessionTicketCall
GetSessionTicket indicates an expected call of GetSessionTicket.
func (*MockCryptoSetupMockRecorder) HandleMessage ¶
func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 any) *CryptoSetupHandleMessageCall
HandleMessage indicates an expected call of HandleMessage.
func (*MockCryptoSetupMockRecorder) NextEvent ¶
func (mr *MockCryptoSetupMockRecorder) NextEvent() *CryptoSetupNextEventCall
NextEvent indicates an expected call of NextEvent.
func (*MockCryptoSetupMockRecorder) SetHandshakeConfirmed ¶
func (mr *MockCryptoSetupMockRecorder) SetHandshakeConfirmed() *CryptoSetupSetHandshakeConfirmedCall
SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.
func (*MockCryptoSetupMockRecorder) SetLargest1RTTAcked ¶
func (mr *MockCryptoSetupMockRecorder) SetLargest1RTTAcked(arg0 any) *CryptoSetupSetLargest1RTTAckedCall
SetLargest1RTTAcked indicates an expected call of SetLargest1RTTAcked.
func (*MockCryptoSetupMockRecorder) StartHandshake ¶
func (mr *MockCryptoSetupMockRecorder) StartHandshake() *CryptoSetupStartHandshakeCall
StartHandshake indicates an expected call of StartHandshake.
type MockLongHeaderOpener ¶
type MockLongHeaderOpener struct {
// contains filtered or unexported fields
}
MockLongHeaderOpener is a mock of LongHeaderOpener interface.
func NewMockLongHeaderOpener ¶
func NewMockLongHeaderOpener(ctrl *gomock.Controller) *MockLongHeaderOpener
NewMockLongHeaderOpener creates a new mock instance.
func (*MockLongHeaderOpener) DecodePacketNumber ¶
func (m *MockLongHeaderOpener) DecodePacketNumber(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) protocol.PacketNumber
DecodePacketNumber mocks base method.
func (*MockLongHeaderOpener) DecryptHeader ¶
func (m *MockLongHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
DecryptHeader mocks base method.
func (*MockLongHeaderOpener) EXPECT ¶
func (m *MockLongHeaderOpener) EXPECT() *MockLongHeaderOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLongHeaderOpener) Open ¶
func (m *MockLongHeaderOpener) Open(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) ([]byte, error)
Open mocks base method.
type MockLongHeaderOpenerMockRecorder ¶
type MockLongHeaderOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockLongHeaderOpenerMockRecorder is the mock recorder for MockLongHeaderOpener.
func (*MockLongHeaderOpenerMockRecorder) DecodePacketNumber ¶
func (mr *MockLongHeaderOpenerMockRecorder) DecodePacketNumber(arg0, arg1 any) *LongHeaderOpenerDecodePacketNumberCall
DecodePacketNumber indicates an expected call of DecodePacketNumber.
func (*MockLongHeaderOpenerMockRecorder) DecryptHeader ¶
func (mr *MockLongHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *LongHeaderOpenerDecryptHeaderCall
DecryptHeader indicates an expected call of DecryptHeader.
func (*MockLongHeaderOpenerMockRecorder) Open ¶
func (mr *MockLongHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 any) *LongHeaderOpenerOpenCall
Open indicates an expected call of Open.
type MockSendAlgorithmWithDebugInfos ¶
type MockSendAlgorithmWithDebugInfos struct {
// contains filtered or unexported fields
}
MockSendAlgorithmWithDebugInfos is a mock of SendAlgorithmWithDebugInfos interface.
func NewMockSendAlgorithmWithDebugInfos ¶
func NewMockSendAlgorithmWithDebugInfos(ctrl *gomock.Controller) *MockSendAlgorithmWithDebugInfos
NewMockSendAlgorithmWithDebugInfos creates a new mock instance.
func (*MockSendAlgorithmWithDebugInfos) CanSend ¶
func (m *MockSendAlgorithmWithDebugInfos) CanSend(arg0 protocol.ByteCount) bool
CanSend mocks base method.
func (*MockSendAlgorithmWithDebugInfos) EXPECT ¶
func (m *MockSendAlgorithmWithDebugInfos) EXPECT() *MockSendAlgorithmWithDebugInfosMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSendAlgorithmWithDebugInfos) GetCongestionWindow ¶
func (m *MockSendAlgorithmWithDebugInfos) GetCongestionWindow() protocol.ByteCount
GetCongestionWindow mocks base method.
func (*MockSendAlgorithmWithDebugInfos) HasPacingBudget ¶
func (m *MockSendAlgorithmWithDebugInfos) HasPacingBudget(arg0 time.Time) bool
HasPacingBudget mocks base method.
func (*MockSendAlgorithmWithDebugInfos) InRecovery ¶
func (m *MockSendAlgorithmWithDebugInfos) InRecovery() bool
InRecovery mocks base method.
func (*MockSendAlgorithmWithDebugInfos) InSlowStart ¶
func (m *MockSendAlgorithmWithDebugInfos) InSlowStart() bool
InSlowStart mocks base method.
func (*MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart ¶
func (m *MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart()
MaybeExitSlowStart mocks base method.
func (*MockSendAlgorithmWithDebugInfos) OnCongestionEvent ¶
func (m *MockSendAlgorithmWithDebugInfos) OnCongestionEvent(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)
OnCongestionEvent mocks base method.
func (*MockSendAlgorithmWithDebugInfos) OnPacketAcked ¶
func (m *MockSendAlgorithmWithDebugInfos) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)
OnPacketAcked mocks base method.
func (*MockSendAlgorithmWithDebugInfos) OnPacketSent ¶
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 ¶
func (m *MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout(arg0 bool)
OnRetransmissionTimeout mocks base method.
func (*MockSendAlgorithmWithDebugInfos) SetMaxDatagramSize ¶
func (m *MockSendAlgorithmWithDebugInfos) SetMaxDatagramSize(arg0 protocol.ByteCount)
SetMaxDatagramSize mocks base method.
func (*MockSendAlgorithmWithDebugInfos) TimeUntilSend ¶
func (m *MockSendAlgorithmWithDebugInfos) TimeUntilSend(arg0 protocol.ByteCount) time.Time
TimeUntilSend mocks base method.
type MockSendAlgorithmWithDebugInfosMockRecorder ¶
type MockSendAlgorithmWithDebugInfosMockRecorder struct {
// contains filtered or unexported fields
}
MockSendAlgorithmWithDebugInfosMockRecorder is the mock recorder for MockSendAlgorithmWithDebugInfos.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) CanSend ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) CanSend(arg0 any) *SendAlgorithmWithDebugInfosCanSendCall
CanSend indicates an expected call of CanSend.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow() *SendAlgorithmWithDebugInfosGetCongestionWindowCall
GetCongestionWindow indicates an expected call of GetCongestionWindow.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget(arg0 any) *SendAlgorithmWithDebugInfosHasPacingBudgetCall
HasPacingBudget indicates an expected call of HasPacingBudget.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery() *SendAlgorithmWithDebugInfosInRecoveryCall
InRecovery indicates an expected call of InRecovery.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart() *SendAlgorithmWithDebugInfosInSlowStartCall
InSlowStart indicates an expected call of InSlowStart.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart() *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
MaybeExitSlowStart indicates an expected call of MaybeExitSlowStart.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent(arg0, arg1, arg2 any) *SendAlgorithmWithDebugInfosOnCongestionEventCall
OnCongestionEvent indicates an expected call of OnCongestionEvent.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 any) *SendAlgorithmWithDebugInfosOnPacketAckedCall
OnPacketAcked indicates an expected call of OnPacketAcked.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 any) *SendAlgorithmWithDebugInfosOnPacketSentCall
OnPacketSent indicates an expected call of OnPacketSent.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout(arg0 any) *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
OnRetransmissionTimeout indicates an expected call of OnRetransmissionTimeout.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize(arg0 any) *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
SetMaxDatagramSize indicates an expected call of SetMaxDatagramSize.
func (*MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend ¶
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend(arg0 any) *SendAlgorithmWithDebugInfosTimeUntilSendCall
TimeUntilSend indicates an expected call of TimeUntilSend.
type MockShortHeaderOpener ¶
type MockShortHeaderOpener struct {
// contains filtered or unexported fields
}
MockShortHeaderOpener is a mock of ShortHeaderOpener interface.
func NewMockShortHeaderOpener ¶
func NewMockShortHeaderOpener(ctrl *gomock.Controller) *MockShortHeaderOpener
NewMockShortHeaderOpener creates a new mock instance.
func (*MockShortHeaderOpener) DecodePacketNumber ¶
func (m *MockShortHeaderOpener) DecodePacketNumber(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) protocol.PacketNumber
DecodePacketNumber mocks base method.
func (*MockShortHeaderOpener) DecryptHeader ¶
func (m *MockShortHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
DecryptHeader mocks base method.
func (*MockShortHeaderOpener) EXPECT ¶
func (m *MockShortHeaderOpener) EXPECT() *MockShortHeaderOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockShortHeaderOpener) Open ¶
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 MockShortHeaderOpenerMockRecorder ¶
type MockShortHeaderOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockShortHeaderOpenerMockRecorder is the mock recorder for MockShortHeaderOpener.
func (*MockShortHeaderOpenerMockRecorder) DecodePacketNumber ¶
func (mr *MockShortHeaderOpenerMockRecorder) DecodePacketNumber(arg0, arg1 any) *ShortHeaderOpenerDecodePacketNumberCall
DecodePacketNumber indicates an expected call of DecodePacketNumber.
func (*MockShortHeaderOpenerMockRecorder) DecryptHeader ¶
func (mr *MockShortHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *ShortHeaderOpenerDecryptHeaderCall
DecryptHeader indicates an expected call of DecryptHeader.
func (*MockShortHeaderOpenerMockRecorder) Open ¶
func (mr *MockShortHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3, arg4, arg5 any) *ShortHeaderOpenerOpenCall
Open indicates an expected call of Open.
type MockShortHeaderSealer ¶
type MockShortHeaderSealer struct {
// contains filtered or unexported fields
}
MockShortHeaderSealer is a mock of ShortHeaderSealer interface.
func NewMockShortHeaderSealer ¶
func NewMockShortHeaderSealer(ctrl *gomock.Controller) *MockShortHeaderSealer
NewMockShortHeaderSealer creates a new mock instance.
func (*MockShortHeaderSealer) EXPECT ¶
func (m *MockShortHeaderSealer) EXPECT() *MockShortHeaderSealerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockShortHeaderSealer) EncryptHeader ¶
func (m *MockShortHeaderSealer) EncryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
EncryptHeader mocks base method.
func (*MockShortHeaderSealer) KeyPhase ¶
func (m *MockShortHeaderSealer) KeyPhase() protocol.KeyPhaseBit
KeyPhase mocks base method.
func (*MockShortHeaderSealer) Overhead ¶
func (m *MockShortHeaderSealer) Overhead() int
Overhead mocks base method.
func (*MockShortHeaderSealer) Seal ¶
func (m *MockShortHeaderSealer) Seal(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) []byte
Seal mocks base method.
type MockShortHeaderSealerMockRecorder ¶
type MockShortHeaderSealerMockRecorder struct {
// contains filtered or unexported fields
}
MockShortHeaderSealerMockRecorder is the mock recorder for MockShortHeaderSealer.
func (*MockShortHeaderSealerMockRecorder) EncryptHeader ¶
func (mr *MockShortHeaderSealerMockRecorder) EncryptHeader(arg0, arg1, arg2 any) *ShortHeaderSealerEncryptHeaderCall
EncryptHeader indicates an expected call of EncryptHeader.
func (*MockShortHeaderSealerMockRecorder) KeyPhase ¶
func (mr *MockShortHeaderSealerMockRecorder) KeyPhase() *ShortHeaderSealerKeyPhaseCall
KeyPhase indicates an expected call of KeyPhase.
func (*MockShortHeaderSealerMockRecorder) Overhead ¶
func (mr *MockShortHeaderSealerMockRecorder) Overhead() *ShortHeaderSealerOverheadCall
Overhead indicates an expected call of Overhead.
func (*MockShortHeaderSealerMockRecorder) Seal ¶
func (mr *MockShortHeaderSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 any) *ShortHeaderSealerSealCall
Seal indicates an expected call of Seal.
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 ¶
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 ¶
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 MockStreamFlowControllerMockRecorder ¶
type MockStreamFlowControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamFlowControllerMockRecorder is the mock recorder for MockStreamFlowController.
func (*MockStreamFlowControllerMockRecorder) Abandon ¶
func (mr *MockStreamFlowControllerMockRecorder) Abandon() *StreamFlowControllerAbandonCall
Abandon indicates an expected call of Abandon.
func (*MockStreamFlowControllerMockRecorder) AddBytesRead ¶
func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 any) *StreamFlowControllerAddBytesReadCall
AddBytesRead indicates an expected call of AddBytesRead.
func (*MockStreamFlowControllerMockRecorder) AddBytesSent ¶
func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 any) *StreamFlowControllerAddBytesSentCall
AddBytesSent indicates an expected call of AddBytesSent.
func (*MockStreamFlowControllerMockRecorder) GetWindowUpdate ¶
func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *StreamFlowControllerGetWindowUpdateCall
GetWindowUpdate indicates an expected call of GetWindowUpdate.
func (*MockStreamFlowControllerMockRecorder) IsNewlyBlocked ¶
func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *StreamFlowControllerIsNewlyBlockedCall
IsNewlyBlocked indicates an expected call of IsNewlyBlocked.
func (*MockStreamFlowControllerMockRecorder) SendWindowSize ¶
func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *StreamFlowControllerSendWindowSizeCall
SendWindowSize indicates an expected call of SendWindowSize.
func (*MockStreamFlowControllerMockRecorder) UpdateHighestReceived ¶
func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 any) *StreamFlowControllerUpdateHighestReceivedCall
UpdateHighestReceived indicates an expected call of UpdateHighestReceived.
func (*MockStreamFlowControllerMockRecorder) UpdateSendWindow ¶
func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 any) *StreamFlowControllerUpdateSendWindowCall
UpdateSendWindow indicates an expected call of UpdateSendWindow.
type SendAlgorithmWithDebugInfosCanSendCall ¶
SendAlgorithmWithDebugInfosCanSendCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosCanSendCall) Do ¶
func (c *SendAlgorithmWithDebugInfosCanSendCall) Do(f func(protocol.ByteCount) bool) *SendAlgorithmWithDebugInfosCanSendCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosCanSendCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosCanSendCall) DoAndReturn(f func(protocol.ByteCount) bool) *SendAlgorithmWithDebugInfosCanSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosCanSendCall) Return ¶
func (c *SendAlgorithmWithDebugInfosCanSendCall) Return(arg0 bool) *SendAlgorithmWithDebugInfosCanSendCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosGetCongestionWindowCall ¶
SendAlgorithmWithDebugInfosGetCongestionWindowCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosGetCongestionWindowCall) Do ¶
func (c *SendAlgorithmWithDebugInfosGetCongestionWindowCall) Do(f func() protocol.ByteCount) *SendAlgorithmWithDebugInfosGetCongestionWindowCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn(f func() protocol.ByteCount) *SendAlgorithmWithDebugInfosGetCongestionWindowCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosGetCongestionWindowCall) Return ¶
func (c *SendAlgorithmWithDebugInfosGetCongestionWindowCall) Return(arg0 protocol.ByteCount) *SendAlgorithmWithDebugInfosGetCongestionWindowCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosHasPacingBudgetCall ¶
SendAlgorithmWithDebugInfosHasPacingBudgetCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosHasPacingBudgetCall) Do ¶
func (c *SendAlgorithmWithDebugInfosHasPacingBudgetCall) Do(f func(time.Time) bool) *SendAlgorithmWithDebugInfosHasPacingBudgetCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn(f func(time.Time) bool) *SendAlgorithmWithDebugInfosHasPacingBudgetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosHasPacingBudgetCall) Return ¶
func (c *SendAlgorithmWithDebugInfosHasPacingBudgetCall) Return(arg0 bool) *SendAlgorithmWithDebugInfosHasPacingBudgetCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosInRecoveryCall ¶
SendAlgorithmWithDebugInfosInRecoveryCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosInRecoveryCall) Do ¶
func (c *SendAlgorithmWithDebugInfosInRecoveryCall) Do(f func() bool) *SendAlgorithmWithDebugInfosInRecoveryCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn(f func() bool) *SendAlgorithmWithDebugInfosInRecoveryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosInRecoveryCall) Return ¶
func (c *SendAlgorithmWithDebugInfosInRecoveryCall) Return(arg0 bool) *SendAlgorithmWithDebugInfosInRecoveryCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosInSlowStartCall ¶
SendAlgorithmWithDebugInfosInSlowStartCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosInSlowStartCall) Do ¶
func (c *SendAlgorithmWithDebugInfosInSlowStartCall) Do(f func() bool) *SendAlgorithmWithDebugInfosInSlowStartCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn(f func() bool) *SendAlgorithmWithDebugInfosInSlowStartCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosInSlowStartCall) Return ¶
func (c *SendAlgorithmWithDebugInfosInSlowStartCall) Return(arg0 bool) *SendAlgorithmWithDebugInfosInSlowStartCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosMaybeExitSlowStartCall ¶
SendAlgorithmWithDebugInfosMaybeExitSlowStartCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do ¶
func (c *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do(f func()) *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn(f func()) *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return ¶
func (c *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return() *SendAlgorithmWithDebugInfosMaybeExitSlowStartCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosOnCongestionEventCall ¶
SendAlgorithmWithDebugInfosOnCongestionEventCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosOnCongestionEventCall) Do ¶
func (c *SendAlgorithmWithDebugInfosOnCongestionEventCall) Do(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *SendAlgorithmWithDebugInfosOnCongestionEventCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount)) *SendAlgorithmWithDebugInfosOnCongestionEventCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosOnCongestionEventCall) Return ¶
func (c *SendAlgorithmWithDebugInfosOnCongestionEventCall) Return() *SendAlgorithmWithDebugInfosOnCongestionEventCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosOnPacketAckedCall ¶
SendAlgorithmWithDebugInfosOnPacketAckedCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosOnPacketAckedCall) Do ¶
func (c *SendAlgorithmWithDebugInfosOnPacketAckedCall) Do(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount, time.Time)) *SendAlgorithmWithDebugInfosOnPacketAckedCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ByteCount, protocol.ByteCount, time.Time)) *SendAlgorithmWithDebugInfosOnPacketAckedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosOnPacketAckedCall) Return ¶
func (c *SendAlgorithmWithDebugInfosOnPacketAckedCall) Return() *SendAlgorithmWithDebugInfosOnPacketAckedCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosOnPacketSentCall ¶
SendAlgorithmWithDebugInfosOnPacketSentCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosOnPacketSentCall) Do ¶
func (c *SendAlgorithmWithDebugInfosOnPacketSentCall) Do(f func(time.Time, protocol.ByteCount, protocol.PacketNumber, protocol.ByteCount, bool)) *SendAlgorithmWithDebugInfosOnPacketSentCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn(f func(time.Time, protocol.ByteCount, protocol.PacketNumber, protocol.ByteCount, bool)) *SendAlgorithmWithDebugInfosOnPacketSentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosOnPacketSentCall) Return ¶
func (c *SendAlgorithmWithDebugInfosOnPacketSentCall) Return() *SendAlgorithmWithDebugInfosOnPacketSentCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall ¶
SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do ¶
func (c *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do(f func(bool)) *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn(f func(bool)) *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return ¶
func (c *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return() *SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall ¶
SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do ¶
func (c *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return ¶
func (c *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return() *SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall
Return rewrite *gomock.Call.Return
type SendAlgorithmWithDebugInfosTimeUntilSendCall ¶
SendAlgorithmWithDebugInfosTimeUntilSendCall wrap *gomock.Call
func (*SendAlgorithmWithDebugInfosTimeUntilSendCall) Do ¶
func (c *SendAlgorithmWithDebugInfosTimeUntilSendCall) Do(f func(protocol.ByteCount) time.Time) *SendAlgorithmWithDebugInfosTimeUntilSendCall
Do rewrite *gomock.Call.Do
func (*SendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn ¶
func (c *SendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn(f func(protocol.ByteCount) time.Time) *SendAlgorithmWithDebugInfosTimeUntilSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SendAlgorithmWithDebugInfosTimeUntilSendCall) Return ¶
func (c *SendAlgorithmWithDebugInfosTimeUntilSendCall) Return(arg0 time.Time) *SendAlgorithmWithDebugInfosTimeUntilSendCall
Return rewrite *gomock.Call.Return
type ShortHeaderOpenerDecodePacketNumberCall ¶
ShortHeaderOpenerDecodePacketNumberCall wrap *gomock.Call
func (*ShortHeaderOpenerDecodePacketNumberCall) Do ¶
func (c *ShortHeaderOpenerDecodePacketNumberCall) Do(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *ShortHeaderOpenerDecodePacketNumberCall
Do rewrite *gomock.Call.Do
func (*ShortHeaderOpenerDecodePacketNumberCall) DoAndReturn ¶
func (c *ShortHeaderOpenerDecodePacketNumberCall) DoAndReturn(f func(protocol.PacketNumber, protocol.PacketNumberLen) protocol.PacketNumber) *ShortHeaderOpenerDecodePacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ShortHeaderOpenerDecodePacketNumberCall) Return ¶
func (c *ShortHeaderOpenerDecodePacketNumberCall) Return(arg0 protocol.PacketNumber) *ShortHeaderOpenerDecodePacketNumberCall
Return rewrite *gomock.Call.Return
type ShortHeaderOpenerDecryptHeaderCall ¶
ShortHeaderOpenerDecryptHeaderCall wrap *gomock.Call
func (*ShortHeaderOpenerDecryptHeaderCall) Do ¶
func (c *ShortHeaderOpenerDecryptHeaderCall) Do(f func([]byte, *byte, []byte)) *ShortHeaderOpenerDecryptHeaderCall
Do rewrite *gomock.Call.Do
func (*ShortHeaderOpenerDecryptHeaderCall) DoAndReturn ¶
func (c *ShortHeaderOpenerDecryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *ShortHeaderOpenerDecryptHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ShortHeaderOpenerDecryptHeaderCall) Return ¶
func (c *ShortHeaderOpenerDecryptHeaderCall) Return() *ShortHeaderOpenerDecryptHeaderCall
Return rewrite *gomock.Call.Return
type ShortHeaderOpenerOpenCall ¶
ShortHeaderOpenerOpenCall wrap *gomock.Call
func (*ShortHeaderOpenerOpenCall) Do ¶
func (c *ShortHeaderOpenerOpenCall) Do(f func([]byte, []byte, time.Time, protocol.PacketNumber, protocol.KeyPhaseBit, []byte) ([]byte, error)) *ShortHeaderOpenerOpenCall
Do rewrite *gomock.Call.Do
func (*ShortHeaderOpenerOpenCall) DoAndReturn ¶
func (c *ShortHeaderOpenerOpenCall) DoAndReturn(f func([]byte, []byte, time.Time, protocol.PacketNumber, protocol.KeyPhaseBit, []byte) ([]byte, error)) *ShortHeaderOpenerOpenCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ShortHeaderOpenerOpenCall) Return ¶
func (c *ShortHeaderOpenerOpenCall) Return(arg0 []byte, arg1 error) *ShortHeaderOpenerOpenCall
Return rewrite *gomock.Call.Return
type ShortHeaderSealerEncryptHeaderCall ¶
ShortHeaderSealerEncryptHeaderCall wrap *gomock.Call
func (*ShortHeaderSealerEncryptHeaderCall) Do ¶
func (c *ShortHeaderSealerEncryptHeaderCall) Do(f func([]byte, *byte, []byte)) *ShortHeaderSealerEncryptHeaderCall
Do rewrite *gomock.Call.Do
func (*ShortHeaderSealerEncryptHeaderCall) DoAndReturn ¶
func (c *ShortHeaderSealerEncryptHeaderCall) DoAndReturn(f func([]byte, *byte, []byte)) *ShortHeaderSealerEncryptHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ShortHeaderSealerEncryptHeaderCall) Return ¶
func (c *ShortHeaderSealerEncryptHeaderCall) Return() *ShortHeaderSealerEncryptHeaderCall
Return rewrite *gomock.Call.Return
type ShortHeaderSealerKeyPhaseCall ¶
ShortHeaderSealerKeyPhaseCall wrap *gomock.Call
func (*ShortHeaderSealerKeyPhaseCall) Do ¶
func (c *ShortHeaderSealerKeyPhaseCall) Do(f func() protocol.KeyPhaseBit) *ShortHeaderSealerKeyPhaseCall
Do rewrite *gomock.Call.Do
func (*ShortHeaderSealerKeyPhaseCall) DoAndReturn ¶
func (c *ShortHeaderSealerKeyPhaseCall) DoAndReturn(f func() protocol.KeyPhaseBit) *ShortHeaderSealerKeyPhaseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ShortHeaderSealerKeyPhaseCall) Return ¶
func (c *ShortHeaderSealerKeyPhaseCall) Return(arg0 protocol.KeyPhaseBit) *ShortHeaderSealerKeyPhaseCall
Return rewrite *gomock.Call.Return
type ShortHeaderSealerOverheadCall ¶
ShortHeaderSealerOverheadCall wrap *gomock.Call
func (*ShortHeaderSealerOverheadCall) Do ¶
func (c *ShortHeaderSealerOverheadCall) Do(f func() int) *ShortHeaderSealerOverheadCall
Do rewrite *gomock.Call.Do
func (*ShortHeaderSealerOverheadCall) DoAndReturn ¶
func (c *ShortHeaderSealerOverheadCall) DoAndReturn(f func() int) *ShortHeaderSealerOverheadCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ShortHeaderSealerOverheadCall) Return ¶
func (c *ShortHeaderSealerOverheadCall) Return(arg0 int) *ShortHeaderSealerOverheadCall
Return rewrite *gomock.Call.Return
type ShortHeaderSealerSealCall ¶
ShortHeaderSealerSealCall wrap *gomock.Call
func (*ShortHeaderSealerSealCall) Do ¶
func (c *ShortHeaderSealerSealCall) Do(f func([]byte, []byte, protocol.PacketNumber, []byte) []byte) *ShortHeaderSealerSealCall
Do rewrite *gomock.Call.Do
func (*ShortHeaderSealerSealCall) DoAndReturn ¶
func (c *ShortHeaderSealerSealCall) DoAndReturn(f func([]byte, []byte, protocol.PacketNumber, []byte) []byte) *ShortHeaderSealerSealCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ShortHeaderSealerSealCall) Return ¶
func (c *ShortHeaderSealerSealCall) Return(arg0 []byte) *ShortHeaderSealerSealCall
Return rewrite *gomock.Call.Return
type StreamFlowControllerAbandonCall ¶
StreamFlowControllerAbandonCall wrap *gomock.Call
func (*StreamFlowControllerAbandonCall) Do ¶
func (c *StreamFlowControllerAbandonCall) Do(f func()) *StreamFlowControllerAbandonCall
Do rewrite *gomock.Call.Do
func (*StreamFlowControllerAbandonCall) DoAndReturn ¶
func (c *StreamFlowControllerAbandonCall) DoAndReturn(f func()) *StreamFlowControllerAbandonCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StreamFlowControllerAbandonCall) Return ¶
func (c *StreamFlowControllerAbandonCall) Return() *StreamFlowControllerAbandonCall
Return rewrite *gomock.Call.Return
type StreamFlowControllerAddBytesReadCall ¶
StreamFlowControllerAddBytesReadCall wrap *gomock.Call
func (*StreamFlowControllerAddBytesReadCall) Do ¶
func (c *StreamFlowControllerAddBytesReadCall) Do(f func(protocol.ByteCount)) *StreamFlowControllerAddBytesReadCall
Do rewrite *gomock.Call.Do
func (*StreamFlowControllerAddBytesReadCall) DoAndReturn ¶
func (c *StreamFlowControllerAddBytesReadCall) DoAndReturn(f func(protocol.ByteCount)) *StreamFlowControllerAddBytesReadCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StreamFlowControllerAddBytesReadCall) Return ¶
func (c *StreamFlowControllerAddBytesReadCall) Return() *StreamFlowControllerAddBytesReadCall
Return rewrite *gomock.Call.Return
type StreamFlowControllerAddBytesSentCall ¶
StreamFlowControllerAddBytesSentCall wrap *gomock.Call
func (*StreamFlowControllerAddBytesSentCall) Do ¶
func (c *StreamFlowControllerAddBytesSentCall) Do(f func(protocol.ByteCount)) *StreamFlowControllerAddBytesSentCall
Do rewrite *gomock.Call.Do
func (*StreamFlowControllerAddBytesSentCall) DoAndReturn ¶
func (c *StreamFlowControllerAddBytesSentCall) DoAndReturn(f func(protocol.ByteCount)) *StreamFlowControllerAddBytesSentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StreamFlowControllerAddBytesSentCall) Return ¶
func (c *StreamFlowControllerAddBytesSentCall) Return() *StreamFlowControllerAddBytesSentCall
Return rewrite *gomock.Call.Return
type StreamFlowControllerGetWindowUpdateCall ¶
StreamFlowControllerGetWindowUpdateCall wrap *gomock.Call
func (*StreamFlowControllerGetWindowUpdateCall) Do ¶
func (c *StreamFlowControllerGetWindowUpdateCall) Do(f func() protocol.ByteCount) *StreamFlowControllerGetWindowUpdateCall
Do rewrite *gomock.Call.Do
func (*StreamFlowControllerGetWindowUpdateCall) DoAndReturn ¶
func (c *StreamFlowControllerGetWindowUpdateCall) DoAndReturn(f func() protocol.ByteCount) *StreamFlowControllerGetWindowUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StreamFlowControllerGetWindowUpdateCall) Return ¶
func (c *StreamFlowControllerGetWindowUpdateCall) Return(arg0 protocol.ByteCount) *StreamFlowControllerGetWindowUpdateCall
Return rewrite *gomock.Call.Return
type StreamFlowControllerIsNewlyBlockedCall ¶
StreamFlowControllerIsNewlyBlockedCall wrap *gomock.Call
func (*StreamFlowControllerIsNewlyBlockedCall) Do ¶
func (c *StreamFlowControllerIsNewlyBlockedCall) Do(f func() (bool, protocol.ByteCount)) *StreamFlowControllerIsNewlyBlockedCall
Do rewrite *gomock.Call.Do
func (*StreamFlowControllerIsNewlyBlockedCall) DoAndReturn ¶
func (c *StreamFlowControllerIsNewlyBlockedCall) DoAndReturn(f func() (bool, protocol.ByteCount)) *StreamFlowControllerIsNewlyBlockedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StreamFlowControllerIsNewlyBlockedCall) Return ¶
func (c *StreamFlowControllerIsNewlyBlockedCall) Return(arg0 bool, arg1 protocol.ByteCount) *StreamFlowControllerIsNewlyBlockedCall
Return rewrite *gomock.Call.Return
type StreamFlowControllerSendWindowSizeCall ¶
StreamFlowControllerSendWindowSizeCall wrap *gomock.Call
func (*StreamFlowControllerSendWindowSizeCall) Do ¶
func (c *StreamFlowControllerSendWindowSizeCall) Do(f func() protocol.ByteCount) *StreamFlowControllerSendWindowSizeCall
Do rewrite *gomock.Call.Do
func (*StreamFlowControllerSendWindowSizeCall) DoAndReturn ¶
func (c *StreamFlowControllerSendWindowSizeCall) DoAndReturn(f func() protocol.ByteCount) *StreamFlowControllerSendWindowSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StreamFlowControllerSendWindowSizeCall) Return ¶
func (c *StreamFlowControllerSendWindowSizeCall) Return(arg0 protocol.ByteCount) *StreamFlowControllerSendWindowSizeCall
Return rewrite *gomock.Call.Return
type StreamFlowControllerUpdateHighestReceivedCall ¶
StreamFlowControllerUpdateHighestReceivedCall wrap *gomock.Call
func (*StreamFlowControllerUpdateHighestReceivedCall) Do ¶
func (c *StreamFlowControllerUpdateHighestReceivedCall) Do(f func(protocol.ByteCount, bool) error) *StreamFlowControllerUpdateHighestReceivedCall
Do rewrite *gomock.Call.Do
func (*StreamFlowControllerUpdateHighestReceivedCall) DoAndReturn ¶
func (c *StreamFlowControllerUpdateHighestReceivedCall) DoAndReturn(f func(protocol.ByteCount, bool) error) *StreamFlowControllerUpdateHighestReceivedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StreamFlowControllerUpdateHighestReceivedCall) Return ¶
func (c *StreamFlowControllerUpdateHighestReceivedCall) Return(arg0 error) *StreamFlowControllerUpdateHighestReceivedCall
Return rewrite *gomock.Call.Return
type StreamFlowControllerUpdateSendWindowCall ¶
StreamFlowControllerUpdateSendWindowCall wrap *gomock.Call
func (*StreamFlowControllerUpdateSendWindowCall) Do ¶
func (c *StreamFlowControllerUpdateSendWindowCall) Do(f func(protocol.ByteCount) bool) *StreamFlowControllerUpdateSendWindowCall
Do rewrite *gomock.Call.Do
func (*StreamFlowControllerUpdateSendWindowCall) DoAndReturn ¶
func (c *StreamFlowControllerUpdateSendWindowCall) DoAndReturn(f func(protocol.ByteCount) bool) *StreamFlowControllerUpdateSendWindowCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StreamFlowControllerUpdateSendWindowCall) Return ¶
func (c *StreamFlowControllerUpdateSendWindowCall) Return(arg0 bool) *StreamFlowControllerUpdateSendWindowCall
Return rewrite *gomock.Call.Return