mocks

package
v0.0.0-...-edd52d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConnectionFlowController

type MockConnectionFlowController struct {
	// contains filtered or unexported fields
}

MockConnectionFlowController is a mock of ConnectionFlowController interface.

func NewMockConnectionFlowController

func NewMockConnectionFlowController(ctrl *gomock.Controller) *MockConnectionFlowController

NewMockConnectionFlowController creates a new mock instance.

func (*MockConnectionFlowController) AddBytesRead

func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)

AddBytesRead mocks base method.

func (*MockConnectionFlowController) AddBytesSent

func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)

AddBytesSent mocks base method.

func (*MockConnectionFlowController) EXPECT

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

Reset mocks base method.

func (*MockConnectionFlowController) SendWindowSize

func (m *MockConnectionFlowController) SendWindowSize() protocol.ByteCount

SendWindowSize mocks base method.

func (*MockConnectionFlowController) UpdateSendWindow

func (m *MockConnectionFlowController) UpdateSendWindow(arg0 protocol.ByteCount) bool

UpdateSendWindow mocks base method.

type MockConnectionFlowControllerAddBytesReadCall

type MockConnectionFlowControllerAddBytesReadCall struct {
	*gomock.Call
}

MockConnectionFlowControllerAddBytesReadCall wrap *gomock.Call

func (*MockConnectionFlowControllerAddBytesReadCall) Do

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerAddBytesReadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerAddBytesReadCall) Return

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerAddBytesSentCall

type MockConnectionFlowControllerAddBytesSentCall struct {
	*gomock.Call
}

MockConnectionFlowControllerAddBytesSentCall wrap *gomock.Call

func (*MockConnectionFlowControllerAddBytesSentCall) Do

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerAddBytesSentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerAddBytesSentCall) Return

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerGetWindowUpdateCall

type MockConnectionFlowControllerGetWindowUpdateCall struct {
	*gomock.Call
}

MockConnectionFlowControllerGetWindowUpdateCall wrap *gomock.Call

func (*MockConnectionFlowControllerGetWindowUpdateCall) Do

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerGetWindowUpdateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerGetWindowUpdateCall) Return

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerIsNewlyBlockedCall

type MockConnectionFlowControllerIsNewlyBlockedCall struct {
	*gomock.Call
}

MockConnectionFlowControllerIsNewlyBlockedCall wrap *gomock.Call

func (*MockConnectionFlowControllerIsNewlyBlockedCall) Do

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerIsNewlyBlockedCall) Return

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerMockRecorder

type MockConnectionFlowControllerMockRecorder struct {
	// contains filtered or unexported fields
}

MockConnectionFlowControllerMockRecorder is the mock recorder for MockConnectionFlowController.

func (*MockConnectionFlowControllerMockRecorder) AddBytesRead

AddBytesRead indicates an expected call of AddBytesRead.

func (*MockConnectionFlowControllerMockRecorder) AddBytesSent

AddBytesSent indicates an expected call of AddBytesSent.

func (*MockConnectionFlowControllerMockRecorder) GetWindowUpdate

GetWindowUpdate indicates an expected call of GetWindowUpdate.

func (*MockConnectionFlowControllerMockRecorder) IsNewlyBlocked

IsNewlyBlocked indicates an expected call of IsNewlyBlocked.

func (*MockConnectionFlowControllerMockRecorder) Reset

Reset indicates an expected call of Reset.

func (*MockConnectionFlowControllerMockRecorder) SendWindowSize

SendWindowSize indicates an expected call of SendWindowSize.

func (*MockConnectionFlowControllerMockRecorder) UpdateSendWindow

UpdateSendWindow indicates an expected call of UpdateSendWindow.

type MockConnectionFlowControllerResetCall

type MockConnectionFlowControllerResetCall struct {
	*gomock.Call
}

MockConnectionFlowControllerResetCall wrap *gomock.Call

func (*MockConnectionFlowControllerResetCall) Do

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerResetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerResetCall) Return

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerSendWindowSizeCall

type MockConnectionFlowControllerSendWindowSizeCall struct {
	*gomock.Call
}

MockConnectionFlowControllerSendWindowSizeCall wrap *gomock.Call

func (*MockConnectionFlowControllerSendWindowSizeCall) Do

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerSendWindowSizeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerSendWindowSizeCall) Return

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerUpdateSendWindowCall

type MockConnectionFlowControllerUpdateSendWindowCall struct {
	*gomock.Call
}

MockConnectionFlowControllerUpdateSendWindowCall wrap *gomock.Call

func (*MockConnectionFlowControllerUpdateSendWindowCall) Do

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerUpdateSendWindowCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerUpdateSendWindowCall) Return

Return rewrite *gomock.Call.Return

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) Close

func (m *MockCryptoSetup) Close() error

Close 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

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(arg0 context.Context) error

StartHandshake mocks base method.

type MockCryptoSetupChangeConnectionIDCall

type MockCryptoSetupChangeConnectionIDCall struct {
	*gomock.Call
}

MockCryptoSetupChangeConnectionIDCall wrap *gomock.Call

func (*MockCryptoSetupChangeConnectionIDCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupChangeConnectionIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupChangeConnectionIDCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupCloseCall

type MockCryptoSetupCloseCall struct {
	*gomock.Call
}

MockCryptoSetupCloseCall wrap *gomock.Call

func (*MockCryptoSetupCloseCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupCloseCall) DoAndReturn

func (c *MockCryptoSetupCloseCall) DoAndReturn(f func() error) *MockCryptoSetupCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupCloseCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupConnectionStateCall

type MockCryptoSetupConnectionStateCall struct {
	*gomock.Call
}

MockCryptoSetupConnectionStateCall wrap *gomock.Call

func (*MockCryptoSetupConnectionStateCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupConnectionStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupConnectionStateCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupDiscardInitialKeysCall

type MockCryptoSetupDiscardInitialKeysCall struct {
	*gomock.Call
}

MockCryptoSetupDiscardInitialKeysCall wrap *gomock.Call

func (*MockCryptoSetupDiscardInitialKeysCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupDiscardInitialKeysCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupDiscardInitialKeysCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGet0RTTOpenerCall

type MockCryptoSetupGet0RTTOpenerCall struct {
	*gomock.Call
}

MockCryptoSetupGet0RTTOpenerCall wrap *gomock.Call

func (*MockCryptoSetupGet0RTTOpenerCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGet0RTTOpenerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGet0RTTOpenerCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGet0RTTSealerCall

type MockCryptoSetupGet0RTTSealerCall struct {
	*gomock.Call
}

MockCryptoSetupGet0RTTSealerCall wrap *gomock.Call

func (*MockCryptoSetupGet0RTTSealerCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGet0RTTSealerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGet0RTTSealerCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGet1RTTOpenerCall

type MockCryptoSetupGet1RTTOpenerCall struct {
	*gomock.Call
}

MockCryptoSetupGet1RTTOpenerCall wrap *gomock.Call

func (*MockCryptoSetupGet1RTTOpenerCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGet1RTTOpenerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGet1RTTOpenerCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGet1RTTSealerCall

type MockCryptoSetupGet1RTTSealerCall struct {
	*gomock.Call
}

MockCryptoSetupGet1RTTSealerCall wrap *gomock.Call

func (*MockCryptoSetupGet1RTTSealerCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGet1RTTSealerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGet1RTTSealerCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetHandshakeOpenerCall

type MockCryptoSetupGetHandshakeOpenerCall struct {
	*gomock.Call
}

MockCryptoSetupGetHandshakeOpenerCall wrap *gomock.Call

func (*MockCryptoSetupGetHandshakeOpenerCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetHandshakeOpenerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetHandshakeOpenerCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetHandshakeSealerCall

type MockCryptoSetupGetHandshakeSealerCall struct {
	*gomock.Call
}

MockCryptoSetupGetHandshakeSealerCall wrap *gomock.Call

func (*MockCryptoSetupGetHandshakeSealerCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetHandshakeSealerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetHandshakeSealerCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetInitialOpenerCall

type MockCryptoSetupGetInitialOpenerCall struct {
	*gomock.Call
}

MockCryptoSetupGetInitialOpenerCall wrap *gomock.Call

func (*MockCryptoSetupGetInitialOpenerCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetInitialOpenerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetInitialOpenerCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetInitialSealerCall

type MockCryptoSetupGetInitialSealerCall struct {
	*gomock.Call
}

MockCryptoSetupGetInitialSealerCall wrap *gomock.Call

func (*MockCryptoSetupGetInitialSealerCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetInitialSealerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetInitialSealerCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetSessionTicketCall

type MockCryptoSetupGetSessionTicketCall struct {
	*gomock.Call
}

MockCryptoSetupGetSessionTicketCall wrap *gomock.Call

func (*MockCryptoSetupGetSessionTicketCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetSessionTicketCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetSessionTicketCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupHandleMessageCall

type MockCryptoSetupHandleMessageCall struct {
	*gomock.Call
}

MockCryptoSetupHandleMessageCall wrap *gomock.Call

func (*MockCryptoSetupHandleMessageCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupHandleMessageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupHandleMessageCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupMockRecorder

type MockCryptoSetupMockRecorder struct {
	// contains filtered or unexported fields
}

MockCryptoSetupMockRecorder is the mock recorder for MockCryptoSetup.

func (*MockCryptoSetupMockRecorder) ChangeConnectionID

ChangeConnectionID indicates an expected call of ChangeConnectionID.

func (*MockCryptoSetupMockRecorder) Close

Close indicates an expected call of Close.

func (*MockCryptoSetupMockRecorder) ConnectionState

ConnectionState indicates an expected call of ConnectionState.

func (*MockCryptoSetupMockRecorder) DiscardInitialKeys

DiscardInitialKeys indicates an expected call of DiscardInitialKeys.

func (*MockCryptoSetupMockRecorder) Get0RTTOpener

Get0RTTOpener indicates an expected call of Get0RTTOpener.

func (*MockCryptoSetupMockRecorder) Get0RTTSealer

Get0RTTSealer indicates an expected call of Get0RTTSealer.

func (*MockCryptoSetupMockRecorder) Get1RTTOpener

Get1RTTOpener indicates an expected call of Get1RTTOpener.

func (*MockCryptoSetupMockRecorder) Get1RTTSealer

Get1RTTSealer indicates an expected call of Get1RTTSealer.

func (*MockCryptoSetupMockRecorder) GetHandshakeOpener

GetHandshakeOpener indicates an expected call of GetHandshakeOpener.

func (*MockCryptoSetupMockRecorder) GetHandshakeSealer

GetHandshakeSealer indicates an expected call of GetHandshakeSealer.

func (*MockCryptoSetupMockRecorder) GetInitialOpener

GetInitialOpener indicates an expected call of GetInitialOpener.

func (*MockCryptoSetupMockRecorder) GetInitialSealer

GetInitialSealer indicates an expected call of GetInitialSealer.

func (*MockCryptoSetupMockRecorder) GetSessionTicket

GetSessionTicket indicates an expected call of GetSessionTicket.

func (*MockCryptoSetupMockRecorder) HandleMessage

func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 any) *MockCryptoSetupHandleMessageCall

HandleMessage indicates an expected call of HandleMessage.

func (*MockCryptoSetupMockRecorder) NextEvent

NextEvent indicates an expected call of NextEvent.

func (*MockCryptoSetupMockRecorder) SetHandshakeConfirmed

SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.

func (*MockCryptoSetupMockRecorder) SetLargest1RTTAcked

SetLargest1RTTAcked indicates an expected call of SetLargest1RTTAcked.

func (*MockCryptoSetupMockRecorder) StartHandshake

StartHandshake indicates an expected call of StartHandshake.

type MockCryptoSetupNextEventCall

type MockCryptoSetupNextEventCall struct {
	*gomock.Call
}

MockCryptoSetupNextEventCall wrap *gomock.Call

func (*MockCryptoSetupNextEventCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupNextEventCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupNextEventCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupSetHandshakeConfirmedCall

type MockCryptoSetupSetHandshakeConfirmedCall struct {
	*gomock.Call
}

MockCryptoSetupSetHandshakeConfirmedCall wrap *gomock.Call

func (*MockCryptoSetupSetHandshakeConfirmedCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupSetHandshakeConfirmedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupSetHandshakeConfirmedCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupSetLargest1RTTAckedCall

type MockCryptoSetupSetLargest1RTTAckedCall struct {
	*gomock.Call
}

MockCryptoSetupSetLargest1RTTAckedCall wrap *gomock.Call

func (*MockCryptoSetupSetLargest1RTTAckedCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupSetLargest1RTTAckedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupSetLargest1RTTAckedCall) Return

Return rewrite *gomock.Call.Return

type MockCryptoSetupStartHandshakeCall

type MockCryptoSetupStartHandshakeCall struct {
	*gomock.Call
}

MockCryptoSetupStartHandshakeCall wrap *gomock.Call

func (*MockCryptoSetupStartHandshakeCall) Do

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupStartHandshakeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupStartHandshakeCall) Return

Return rewrite *gomock.Call.Return

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

DecodePacketNumber mocks base method.

func (*MockLongHeaderOpener) DecryptHeader

func (m *MockLongHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)

DecryptHeader mocks base method.

func (*MockLongHeaderOpener) EXPECT

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 MockLongHeaderOpenerDecodePacketNumberCall

type MockLongHeaderOpenerDecodePacketNumberCall struct {
	*gomock.Call
}

MockLongHeaderOpenerDecodePacketNumberCall wrap *gomock.Call

func (*MockLongHeaderOpenerDecodePacketNumberCall) Do

Do rewrite *gomock.Call.Do

func (*MockLongHeaderOpenerDecodePacketNumberCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLongHeaderOpenerDecodePacketNumberCall) Return

Return rewrite *gomock.Call.Return

type MockLongHeaderOpenerDecryptHeaderCall

type MockLongHeaderOpenerDecryptHeaderCall struct {
	*gomock.Call
}

MockLongHeaderOpenerDecryptHeaderCall wrap *gomock.Call

func (*MockLongHeaderOpenerDecryptHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockLongHeaderOpenerDecryptHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLongHeaderOpenerDecryptHeaderCall) Return

Return rewrite *gomock.Call.Return

type MockLongHeaderOpenerMockRecorder

type MockLongHeaderOpenerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLongHeaderOpenerMockRecorder is the mock recorder for MockLongHeaderOpener.

func (*MockLongHeaderOpenerMockRecorder) DecodePacketNumber

DecodePacketNumber indicates an expected call of DecodePacketNumber.

func (*MockLongHeaderOpenerMockRecorder) DecryptHeader

func (mr *MockLongHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *MockLongHeaderOpenerDecryptHeaderCall

DecryptHeader indicates an expected call of DecryptHeader.

func (*MockLongHeaderOpenerMockRecorder) Open

func (mr *MockLongHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 any) *MockLongHeaderOpenerOpenCall

Open indicates an expected call of Open.

type MockLongHeaderOpenerOpenCall

type MockLongHeaderOpenerOpenCall struct {
	*gomock.Call
}

MockLongHeaderOpenerOpenCall wrap *gomock.Call

func (*MockLongHeaderOpenerOpenCall) Do

Do rewrite *gomock.Call.Do

func (*MockLongHeaderOpenerOpenCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLongHeaderOpenerOpenCall) Return

Return rewrite *gomock.Call.Return

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

CanSend mocks base method.

func (*MockSendAlgorithmWithDebugInfos) EXPECT

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

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

TimeUntilSend mocks base method.

type MockSendAlgorithmWithDebugInfosCanSendCall

type MockSendAlgorithmWithDebugInfosCanSendCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosCanSendCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosCanSendCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosCanSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosCanSendCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosGetCongestionWindowCall

type MockSendAlgorithmWithDebugInfosGetCongestionWindowCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosGetCongestionWindowCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosHasPacingBudgetCall

type MockSendAlgorithmWithDebugInfosHasPacingBudgetCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosHasPacingBudgetCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosInRecoveryCall

type MockSendAlgorithmWithDebugInfosInRecoveryCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosInRecoveryCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosInSlowStartCall

type MockSendAlgorithmWithDebugInfosInSlowStartCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosInSlowStartCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall

type MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosMockRecorder

type MockSendAlgorithmWithDebugInfosMockRecorder struct {
	// contains filtered or unexported fields
}

MockSendAlgorithmWithDebugInfosMockRecorder is the mock recorder for MockSendAlgorithmWithDebugInfos.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) CanSend

CanSend indicates an expected call of CanSend.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow

GetCongestionWindow indicates an expected call of GetCongestionWindow.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget

HasPacingBudget indicates an expected call of HasPacingBudget.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery

InRecovery indicates an expected call of InRecovery.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart

InSlowStart indicates an expected call of InSlowStart.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart

MaybeExitSlowStart indicates an expected call of MaybeExitSlowStart.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent

OnCongestionEvent indicates an expected call of OnCongestionEvent.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked

OnPacketAcked indicates an expected call of OnPacketAcked.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent

OnPacketSent indicates an expected call of OnPacketSent.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout

OnRetransmissionTimeout indicates an expected call of OnRetransmissionTimeout.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize

SetMaxDatagramSize indicates an expected call of SetMaxDatagramSize.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend

TimeUntilSend indicates an expected call of TimeUntilSend.

type MockSendAlgorithmWithDebugInfosOnCongestionEventCall

type MockSendAlgorithmWithDebugInfosOnCongestionEventCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosOnCongestionEventCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosOnPacketAckedCall

type MockSendAlgorithmWithDebugInfosOnPacketAckedCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosOnPacketAckedCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosOnPacketSentCall

type MockSendAlgorithmWithDebugInfosOnPacketSentCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosOnPacketSentCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall

type MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall

type MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosTimeUntilSendCall

type MockSendAlgorithmWithDebugInfosTimeUntilSendCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosTimeUntilSendCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Do

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Return

Return rewrite *gomock.Call.Return

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

DecodePacketNumber mocks base method.

func (*MockShortHeaderOpener) DecryptHeader

func (m *MockShortHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)

DecryptHeader mocks base method.

func (*MockShortHeaderOpener) EXPECT

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 MockShortHeaderOpenerDecodePacketNumberCall

type MockShortHeaderOpenerDecodePacketNumberCall struct {
	*gomock.Call
}

MockShortHeaderOpenerDecodePacketNumberCall wrap *gomock.Call

func (*MockShortHeaderOpenerDecodePacketNumberCall) Do

Do rewrite *gomock.Call.Do

func (*MockShortHeaderOpenerDecodePacketNumberCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderOpenerDecodePacketNumberCall) Return

Return rewrite *gomock.Call.Return

type MockShortHeaderOpenerDecryptHeaderCall

type MockShortHeaderOpenerDecryptHeaderCall struct {
	*gomock.Call
}

MockShortHeaderOpenerDecryptHeaderCall wrap *gomock.Call

func (*MockShortHeaderOpenerDecryptHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockShortHeaderOpenerDecryptHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderOpenerDecryptHeaderCall) Return

Return rewrite *gomock.Call.Return

type MockShortHeaderOpenerMockRecorder

type MockShortHeaderOpenerMockRecorder struct {
	// contains filtered or unexported fields
}

MockShortHeaderOpenerMockRecorder is the mock recorder for MockShortHeaderOpener.

func (*MockShortHeaderOpenerMockRecorder) DecodePacketNumber

DecodePacketNumber indicates an expected call of DecodePacketNumber.

func (*MockShortHeaderOpenerMockRecorder) DecryptHeader

DecryptHeader indicates an expected call of DecryptHeader.

func (*MockShortHeaderOpenerMockRecorder) Open

func (mr *MockShortHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockShortHeaderOpenerOpenCall

Open indicates an expected call of Open.

type MockShortHeaderOpenerOpenCall

type MockShortHeaderOpenerOpenCall struct {
	*gomock.Call
}

MockShortHeaderOpenerOpenCall wrap *gomock.Call

func (*MockShortHeaderOpenerOpenCall) Do

Do rewrite *gomock.Call.Do

func (*MockShortHeaderOpenerOpenCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderOpenerOpenCall) Return

Return rewrite *gomock.Call.Return

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

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

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 MockShortHeaderSealerEncryptHeaderCall

type MockShortHeaderSealerEncryptHeaderCall struct {
	*gomock.Call
}

MockShortHeaderSealerEncryptHeaderCall wrap *gomock.Call

func (*MockShortHeaderSealerEncryptHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockShortHeaderSealerEncryptHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderSealerEncryptHeaderCall) Return

Return rewrite *gomock.Call.Return

type MockShortHeaderSealerKeyPhaseCall

type MockShortHeaderSealerKeyPhaseCall struct {
	*gomock.Call
}

MockShortHeaderSealerKeyPhaseCall wrap *gomock.Call

func (*MockShortHeaderSealerKeyPhaseCall) Do

Do rewrite *gomock.Call.Do

func (*MockShortHeaderSealerKeyPhaseCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderSealerKeyPhaseCall) Return

Return rewrite *gomock.Call.Return

type MockShortHeaderSealerMockRecorder

type MockShortHeaderSealerMockRecorder struct {
	// contains filtered or unexported fields
}

MockShortHeaderSealerMockRecorder is the mock recorder for MockShortHeaderSealer.

func (*MockShortHeaderSealerMockRecorder) EncryptHeader

EncryptHeader indicates an expected call of EncryptHeader.

func (*MockShortHeaderSealerMockRecorder) KeyPhase

KeyPhase indicates an expected call of KeyPhase.

func (*MockShortHeaderSealerMockRecorder) Overhead

Overhead indicates an expected call of Overhead.

func (*MockShortHeaderSealerMockRecorder) Seal

func (mr *MockShortHeaderSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 any) *MockShortHeaderSealerSealCall

Seal indicates an expected call of Seal.

type MockShortHeaderSealerOverheadCall

type MockShortHeaderSealerOverheadCall struct {
	*gomock.Call
}

MockShortHeaderSealerOverheadCall wrap *gomock.Call

func (*MockShortHeaderSealerOverheadCall) Do

Do rewrite *gomock.Call.Do

func (*MockShortHeaderSealerOverheadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderSealerOverheadCall) Return

Return rewrite *gomock.Call.Return

type MockShortHeaderSealerSealCall

type MockShortHeaderSealerSealCall struct {
	*gomock.Call
}

MockShortHeaderSealerSealCall wrap *gomock.Call

func (*MockShortHeaderSealerSealCall) Do

Do rewrite *gomock.Call.Do

func (*MockShortHeaderSealerSealCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderSealerSealCall) Return

Return rewrite *gomock.Call.Return

type MockStreamFlowController

type MockStreamFlowController struct {
	// contains filtered or unexported fields
}

MockStreamFlowController is a mock of StreamFlowController interface.

func NewMockStreamFlowController

func NewMockStreamFlowController(ctrl *gomock.Controller) *MockStreamFlowController

NewMockStreamFlowController creates a new mock instance.

func (*MockStreamFlowController) Abandon

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

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 MockStreamFlowControllerAbandonCall

type MockStreamFlowControllerAbandonCall struct {
	*gomock.Call
}

MockStreamFlowControllerAbandonCall wrap *gomock.Call

func (*MockStreamFlowControllerAbandonCall) Do

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerAbandonCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerAbandonCall) Return

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerAddBytesReadCall

type MockStreamFlowControllerAddBytesReadCall struct {
	*gomock.Call
}

MockStreamFlowControllerAddBytesReadCall wrap *gomock.Call

func (*MockStreamFlowControllerAddBytesReadCall) Do

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerAddBytesReadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerAddBytesReadCall) Return

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerAddBytesSentCall

type MockStreamFlowControllerAddBytesSentCall struct {
	*gomock.Call
}

MockStreamFlowControllerAddBytesSentCall wrap *gomock.Call

func (*MockStreamFlowControllerAddBytesSentCall) Do

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerAddBytesSentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerAddBytesSentCall) Return

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerGetWindowUpdateCall

type MockStreamFlowControllerGetWindowUpdateCall struct {
	*gomock.Call
}

MockStreamFlowControllerGetWindowUpdateCall wrap *gomock.Call

func (*MockStreamFlowControllerGetWindowUpdateCall) Do

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerGetWindowUpdateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerGetWindowUpdateCall) Return

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerIsNewlyBlockedCall

type MockStreamFlowControllerIsNewlyBlockedCall struct {
	*gomock.Call
}

MockStreamFlowControllerIsNewlyBlockedCall wrap *gomock.Call

func (*MockStreamFlowControllerIsNewlyBlockedCall) Do

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerIsNewlyBlockedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerIsNewlyBlockedCall) Return

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerMockRecorder

type MockStreamFlowControllerMockRecorder struct {
	// contains filtered or unexported fields
}

MockStreamFlowControllerMockRecorder is the mock recorder for MockStreamFlowController.

func (*MockStreamFlowControllerMockRecorder) Abandon

Abandon indicates an expected call of Abandon.

func (*MockStreamFlowControllerMockRecorder) AddBytesRead

AddBytesRead indicates an expected call of AddBytesRead.

func (*MockStreamFlowControllerMockRecorder) AddBytesSent

AddBytesSent indicates an expected call of AddBytesSent.

func (*MockStreamFlowControllerMockRecorder) GetWindowUpdate

GetWindowUpdate indicates an expected call of GetWindowUpdate.

func (*MockStreamFlowControllerMockRecorder) IsNewlyBlocked

IsNewlyBlocked indicates an expected call of IsNewlyBlocked.

func (*MockStreamFlowControllerMockRecorder) SendWindowSize

SendWindowSize indicates an expected call of SendWindowSize.

func (*MockStreamFlowControllerMockRecorder) UpdateHighestReceived

UpdateHighestReceived indicates an expected call of UpdateHighestReceived.

func (*MockStreamFlowControllerMockRecorder) UpdateSendWindow

UpdateSendWindow indicates an expected call of UpdateSendWindow.

type MockStreamFlowControllerSendWindowSizeCall

type MockStreamFlowControllerSendWindowSizeCall struct {
	*gomock.Call
}

MockStreamFlowControllerSendWindowSizeCall wrap *gomock.Call

func (*MockStreamFlowControllerSendWindowSizeCall) Do

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerSendWindowSizeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerSendWindowSizeCall) Return

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerUpdateHighestReceivedCall

type MockStreamFlowControllerUpdateHighestReceivedCall struct {
	*gomock.Call
}

MockStreamFlowControllerUpdateHighestReceivedCall wrap *gomock.Call

func (*MockStreamFlowControllerUpdateHighestReceivedCall) Do

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerUpdateHighestReceivedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerUpdateHighestReceivedCall) Return

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerUpdateSendWindowCall

type MockStreamFlowControllerUpdateSendWindowCall struct {
	*gomock.Call
}

MockStreamFlowControllerUpdateSendWindowCall wrap *gomock.Call

func (*MockStreamFlowControllerUpdateSendWindowCall) Do

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerUpdateSendWindowCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerUpdateSendWindowCall) Return

Return rewrite *gomock.Call.Return

Directories

Path Synopsis
Package mockackhandler is a generated GoMock package.
Package mockackhandler is a generated GoMock package.
internal
Package internal is a generated GoMock package.
Package internal is a generated GoMock package.
Package mockquic is a generated GoMock package.
Package mockquic is a generated GoMock package.
Package mocktls is a generated GoMock package.
Package mocktls is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL