mocks

package
v0.0.0-...-53ce015 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/congestion (interfaces: SendAlgorithmWithDebugInfos)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocks -destination congestion.go github.com/quic-go/quic-go/internal/congestion SendAlgorithmWithDebugInfos

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/flowcontrol (interfaces: ConnectionFlowController)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocks -destination connection_flow_controller.go github.com/quic-go/quic-go/internal/flowcontrol ConnectionFlowController

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/handshake (interfaces: CryptoSetup)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocks -destination crypto_setup_tmp.go github.com/quic-go/quic-go/internal/handshake CryptoSetup

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/handshake (interfaces: LongHeaderOpener)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocks -destination long_header_opener.go github.com/quic-go/quic-go/internal/handshake LongHeaderOpener

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/handshake (interfaces: ShortHeaderOpener)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocks -destination short_header_opener.go github.com/quic-go/quic-go/internal/handshake ShortHeaderOpener

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/handshake (interfaces: ShortHeaderSealer)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocks -destination short_header_sealer.go github.com/quic-go/quic-go/internal/handshake ShortHeaderSealer

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/flowcontrol (interfaces: StreamFlowController)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocks -destination stream_flow_controller.go github.com/quic-go/quic-go/internal/flowcontrol StreamFlowController

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 ConnectionFlowControllerAddBytesReadCall

type ConnectionFlowControllerAddBytesReadCall struct {
	*gomock.Call
}

ConnectionFlowControllerAddBytesReadCall wrap *gomock.Call

func (*ConnectionFlowControllerAddBytesReadCall) Do

Do rewrite *gomock.Call.Do

func (*ConnectionFlowControllerAddBytesReadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ConnectionFlowControllerAddBytesReadCall) Return

Return rewrite *gomock.Call.Return

type ConnectionFlowControllerAddBytesSentCall

type ConnectionFlowControllerAddBytesSentCall struct {
	*gomock.Call
}

ConnectionFlowControllerAddBytesSentCall wrap *gomock.Call

func (*ConnectionFlowControllerAddBytesSentCall) Do

Do rewrite *gomock.Call.Do

func (*ConnectionFlowControllerAddBytesSentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ConnectionFlowControllerAddBytesSentCall) Return

Return rewrite *gomock.Call.Return

type ConnectionFlowControllerGetWindowUpdateCall

type ConnectionFlowControllerGetWindowUpdateCall struct {
	*gomock.Call
}

ConnectionFlowControllerGetWindowUpdateCall wrap *gomock.Call

func (*ConnectionFlowControllerGetWindowUpdateCall) Do

Do rewrite *gomock.Call.Do

func (*ConnectionFlowControllerGetWindowUpdateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ConnectionFlowControllerGetWindowUpdateCall) Return

Return rewrite *gomock.Call.Return

type ConnectionFlowControllerIsNewlyBlockedCall

type ConnectionFlowControllerIsNewlyBlockedCall struct {
	*gomock.Call
}

ConnectionFlowControllerIsNewlyBlockedCall wrap *gomock.Call

func (*ConnectionFlowControllerIsNewlyBlockedCall) Do

Do rewrite *gomock.Call.Do

func (*ConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ConnectionFlowControllerIsNewlyBlockedCall) Return

Return rewrite *gomock.Call.Return

type ConnectionFlowControllerResetCall

type ConnectionFlowControllerResetCall struct {
	*gomock.Call
}

ConnectionFlowControllerResetCall wrap *gomock.Call

func (*ConnectionFlowControllerResetCall) Do

Do rewrite *gomock.Call.Do

func (*ConnectionFlowControllerResetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ConnectionFlowControllerResetCall) Return

Return rewrite *gomock.Call.Return

type ConnectionFlowControllerSendWindowSizeCall

type ConnectionFlowControllerSendWindowSizeCall struct {
	*gomock.Call
}

ConnectionFlowControllerSendWindowSizeCall wrap *gomock.Call

func (*ConnectionFlowControllerSendWindowSizeCall) Do

Do rewrite *gomock.Call.Do

func (*ConnectionFlowControllerSendWindowSizeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ConnectionFlowControllerSendWindowSizeCall) Return

Return rewrite *gomock.Call.Return

type ConnectionFlowControllerUpdateSendWindowCall

type ConnectionFlowControllerUpdateSendWindowCall struct {
	*gomock.Call
}

ConnectionFlowControllerUpdateSendWindowCall wrap *gomock.Call

func (*ConnectionFlowControllerUpdateSendWindowCall) Do

Do rewrite *gomock.Call.Do

func (*ConnectionFlowControllerUpdateSendWindowCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ConnectionFlowControllerUpdateSendWindowCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupChangeConnectionIDCall

type CryptoSetupChangeConnectionIDCall struct {
	*gomock.Call
}

CryptoSetupChangeConnectionIDCall wrap *gomock.Call

func (*CryptoSetupChangeConnectionIDCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupChangeConnectionIDCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupChangeConnectionIDCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupCloseCall

type CryptoSetupCloseCall struct {
	*gomock.Call
}

CryptoSetupCloseCall wrap *gomock.Call

func (*CryptoSetupCloseCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupCloseCall) DoAndReturn

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

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupCloseCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupConnectionStateCall

type CryptoSetupConnectionStateCall struct {
	*gomock.Call
}

CryptoSetupConnectionStateCall wrap *gomock.Call

func (*CryptoSetupConnectionStateCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupConnectionStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupConnectionStateCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupDiscardInitialKeysCall

type CryptoSetupDiscardInitialKeysCall struct {
	*gomock.Call
}

CryptoSetupDiscardInitialKeysCall wrap *gomock.Call

func (*CryptoSetupDiscardInitialKeysCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupDiscardInitialKeysCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupDiscardInitialKeysCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGet0RTTOpenerCall

type CryptoSetupGet0RTTOpenerCall struct {
	*gomock.Call
}

CryptoSetupGet0RTTOpenerCall wrap *gomock.Call

func (*CryptoSetupGet0RTTOpenerCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGet0RTTOpenerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGet0RTTOpenerCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGet0RTTSealerCall

type CryptoSetupGet0RTTSealerCall struct {
	*gomock.Call
}

CryptoSetupGet0RTTSealerCall wrap *gomock.Call

func (*CryptoSetupGet0RTTSealerCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGet0RTTSealerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGet0RTTSealerCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGet1RTTOpenerCall

type CryptoSetupGet1RTTOpenerCall struct {
	*gomock.Call
}

CryptoSetupGet1RTTOpenerCall wrap *gomock.Call

func (*CryptoSetupGet1RTTOpenerCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGet1RTTOpenerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGet1RTTOpenerCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGet1RTTSealerCall

type CryptoSetupGet1RTTSealerCall struct {
	*gomock.Call
}

CryptoSetupGet1RTTSealerCall wrap *gomock.Call

func (*CryptoSetupGet1RTTSealerCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGet1RTTSealerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGet1RTTSealerCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGetHandshakeOpenerCall

type CryptoSetupGetHandshakeOpenerCall struct {
	*gomock.Call
}

CryptoSetupGetHandshakeOpenerCall wrap *gomock.Call

func (*CryptoSetupGetHandshakeOpenerCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGetHandshakeOpenerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGetHandshakeOpenerCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGetHandshakeSealerCall

type CryptoSetupGetHandshakeSealerCall struct {
	*gomock.Call
}

CryptoSetupGetHandshakeSealerCall wrap *gomock.Call

func (*CryptoSetupGetHandshakeSealerCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGetHandshakeSealerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGetHandshakeSealerCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGetInitialOpenerCall

type CryptoSetupGetInitialOpenerCall struct {
	*gomock.Call
}

CryptoSetupGetInitialOpenerCall wrap *gomock.Call

func (*CryptoSetupGetInitialOpenerCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGetInitialOpenerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGetInitialOpenerCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGetInitialSealerCall

type CryptoSetupGetInitialSealerCall struct {
	*gomock.Call
}

CryptoSetupGetInitialSealerCall wrap *gomock.Call

func (*CryptoSetupGetInitialSealerCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGetInitialSealerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGetInitialSealerCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupGetSessionTicketCall

type CryptoSetupGetSessionTicketCall struct {
	*gomock.Call
}

CryptoSetupGetSessionTicketCall wrap *gomock.Call

func (*CryptoSetupGetSessionTicketCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupGetSessionTicketCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupGetSessionTicketCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupHandleMessageCall

type CryptoSetupHandleMessageCall struct {
	*gomock.Call
}

CryptoSetupHandleMessageCall wrap *gomock.Call

func (*CryptoSetupHandleMessageCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupHandleMessageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupHandleMessageCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupNextEventCall

type CryptoSetupNextEventCall struct {
	*gomock.Call
}

CryptoSetupNextEventCall wrap *gomock.Call

func (*CryptoSetupNextEventCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupNextEventCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupNextEventCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupSetHandshakeConfirmedCall

type CryptoSetupSetHandshakeConfirmedCall struct {
	*gomock.Call
}

CryptoSetupSetHandshakeConfirmedCall wrap *gomock.Call

func (*CryptoSetupSetHandshakeConfirmedCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupSetHandshakeConfirmedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupSetHandshakeConfirmedCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupSetLargest1RTTAckedCall

type CryptoSetupSetLargest1RTTAckedCall struct {
	*gomock.Call
}

CryptoSetupSetLargest1RTTAckedCall wrap *gomock.Call

func (*CryptoSetupSetLargest1RTTAckedCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupSetLargest1RTTAckedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupSetLargest1RTTAckedCall) Return

Return rewrite *gomock.Call.Return

type CryptoSetupStartHandshakeCall

type CryptoSetupStartHandshakeCall struct {
	*gomock.Call
}

CryptoSetupStartHandshakeCall wrap *gomock.Call

func (*CryptoSetupStartHandshakeCall) Do

Do rewrite *gomock.Call.Do

func (*CryptoSetupStartHandshakeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*CryptoSetupStartHandshakeCall) Return

Return rewrite *gomock.Call.Return

type LongHeaderOpenerDecodePacketNumberCall

type LongHeaderOpenerDecodePacketNumberCall struct {
	*gomock.Call
}

LongHeaderOpenerDecodePacketNumberCall wrap *gomock.Call

func (*LongHeaderOpenerDecodePacketNumberCall) Do

Do rewrite *gomock.Call.Do

func (*LongHeaderOpenerDecodePacketNumberCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*LongHeaderOpenerDecodePacketNumberCall) Return

Return rewrite *gomock.Call.Return

type LongHeaderOpenerDecryptHeaderCall

type LongHeaderOpenerDecryptHeaderCall struct {
	*gomock.Call
}

LongHeaderOpenerDecryptHeaderCall wrap *gomock.Call

func (*LongHeaderOpenerDecryptHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*LongHeaderOpenerDecryptHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*LongHeaderOpenerDecryptHeaderCall) Return

Return rewrite *gomock.Call.Return

type LongHeaderOpenerOpenCall

type LongHeaderOpenerOpenCall struct {
	*gomock.Call
}

LongHeaderOpenerOpenCall wrap *gomock.Call

func (*LongHeaderOpenerOpenCall) Do

Do rewrite *gomock.Call.Do

func (*LongHeaderOpenerOpenCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*LongHeaderOpenerOpenCall) Return

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

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)

UpdateSendWindow mocks base method.

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

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) *CryptoSetupHandleMessageCall

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

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

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

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

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

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)

UpdateSendWindow mocks base method.

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 SendAlgorithmWithDebugInfosCanSendCall

type SendAlgorithmWithDebugInfosCanSendCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosCanSendCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosCanSendCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosCanSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosCanSendCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosGetCongestionWindowCall

type SendAlgorithmWithDebugInfosGetCongestionWindowCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosGetCongestionWindowCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosGetCongestionWindowCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosGetCongestionWindowCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosHasPacingBudgetCall

type SendAlgorithmWithDebugInfosHasPacingBudgetCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosHasPacingBudgetCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosHasPacingBudgetCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosHasPacingBudgetCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosInRecoveryCall

type SendAlgorithmWithDebugInfosInRecoveryCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosInRecoveryCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosInRecoveryCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosInRecoveryCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosInSlowStartCall

type SendAlgorithmWithDebugInfosInSlowStartCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosInSlowStartCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosInSlowStartCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosInSlowStartCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosMaybeExitSlowStartCall

type SendAlgorithmWithDebugInfosMaybeExitSlowStartCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosMaybeExitSlowStartCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosOnCongestionEventCall

type SendAlgorithmWithDebugInfosOnCongestionEventCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosOnCongestionEventCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosOnCongestionEventCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosOnCongestionEventCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosOnPacketAckedCall

type SendAlgorithmWithDebugInfosOnPacketAckedCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosOnPacketAckedCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosOnPacketAckedCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosOnPacketAckedCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosOnPacketSentCall

type SendAlgorithmWithDebugInfosOnPacketSentCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosOnPacketSentCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosOnPacketSentCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosOnPacketSentCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall

type SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall

type SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return

Return rewrite *gomock.Call.Return

type SendAlgorithmWithDebugInfosTimeUntilSendCall

type SendAlgorithmWithDebugInfosTimeUntilSendCall struct {
	*gomock.Call
}

SendAlgorithmWithDebugInfosTimeUntilSendCall wrap *gomock.Call

func (*SendAlgorithmWithDebugInfosTimeUntilSendCall) Do

Do rewrite *gomock.Call.Do

func (*SendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*SendAlgorithmWithDebugInfosTimeUntilSendCall) Return

Return rewrite *gomock.Call.Return

type ShortHeaderOpenerDecodePacketNumberCall

type ShortHeaderOpenerDecodePacketNumberCall struct {
	*gomock.Call
}

ShortHeaderOpenerDecodePacketNumberCall wrap *gomock.Call

func (*ShortHeaderOpenerDecodePacketNumberCall) Do

Do rewrite *gomock.Call.Do

func (*ShortHeaderOpenerDecodePacketNumberCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ShortHeaderOpenerDecodePacketNumberCall) Return

Return rewrite *gomock.Call.Return

type ShortHeaderOpenerDecryptHeaderCall

type ShortHeaderOpenerDecryptHeaderCall struct {
	*gomock.Call
}

ShortHeaderOpenerDecryptHeaderCall wrap *gomock.Call

func (*ShortHeaderOpenerDecryptHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*ShortHeaderOpenerDecryptHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ShortHeaderOpenerDecryptHeaderCall) Return

Return rewrite *gomock.Call.Return

type ShortHeaderOpenerOpenCall

type ShortHeaderOpenerOpenCall struct {
	*gomock.Call
}

ShortHeaderOpenerOpenCall wrap *gomock.Call

func (*ShortHeaderOpenerOpenCall) Do

Do rewrite *gomock.Call.Do

func (*ShortHeaderOpenerOpenCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ShortHeaderOpenerOpenCall) Return

Return rewrite *gomock.Call.Return

type ShortHeaderSealerEncryptHeaderCall

type ShortHeaderSealerEncryptHeaderCall struct {
	*gomock.Call
}

ShortHeaderSealerEncryptHeaderCall wrap *gomock.Call

func (*ShortHeaderSealerEncryptHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*ShortHeaderSealerEncryptHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ShortHeaderSealerEncryptHeaderCall) Return

Return rewrite *gomock.Call.Return

type ShortHeaderSealerKeyPhaseCall

type ShortHeaderSealerKeyPhaseCall struct {
	*gomock.Call
}

ShortHeaderSealerKeyPhaseCall wrap *gomock.Call

func (*ShortHeaderSealerKeyPhaseCall) Do

Do rewrite *gomock.Call.Do

func (*ShortHeaderSealerKeyPhaseCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ShortHeaderSealerKeyPhaseCall) Return

Return rewrite *gomock.Call.Return

type ShortHeaderSealerOverheadCall

type ShortHeaderSealerOverheadCall struct {
	*gomock.Call
}

ShortHeaderSealerOverheadCall wrap *gomock.Call

func (*ShortHeaderSealerOverheadCall) Do

Do rewrite *gomock.Call.Do

func (*ShortHeaderSealerOverheadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ShortHeaderSealerOverheadCall) Return

Return rewrite *gomock.Call.Return

type ShortHeaderSealerSealCall

type ShortHeaderSealerSealCall struct {
	*gomock.Call
}

ShortHeaderSealerSealCall wrap *gomock.Call

func (*ShortHeaderSealerSealCall) Do

Do rewrite *gomock.Call.Do

func (*ShortHeaderSealerSealCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ShortHeaderSealerSealCall) Return

Return rewrite *gomock.Call.Return

type StreamFlowControllerAbandonCall

type StreamFlowControllerAbandonCall struct {
	*gomock.Call
}

StreamFlowControllerAbandonCall wrap *gomock.Call

func (*StreamFlowControllerAbandonCall) Do

Do rewrite *gomock.Call.Do

func (*StreamFlowControllerAbandonCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StreamFlowControllerAbandonCall) Return

Return rewrite *gomock.Call.Return

type StreamFlowControllerAddBytesReadCall

type StreamFlowControllerAddBytesReadCall struct {
	*gomock.Call
}

StreamFlowControllerAddBytesReadCall wrap *gomock.Call

func (*StreamFlowControllerAddBytesReadCall) Do

Do rewrite *gomock.Call.Do

func (*StreamFlowControllerAddBytesReadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StreamFlowControllerAddBytesReadCall) Return

Return rewrite *gomock.Call.Return

type StreamFlowControllerAddBytesSentCall

type StreamFlowControllerAddBytesSentCall struct {
	*gomock.Call
}

StreamFlowControllerAddBytesSentCall wrap *gomock.Call

func (*StreamFlowControllerAddBytesSentCall) Do

Do rewrite *gomock.Call.Do

func (*StreamFlowControllerAddBytesSentCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StreamFlowControllerAddBytesSentCall) Return

Return rewrite *gomock.Call.Return

type StreamFlowControllerGetWindowUpdateCall

type StreamFlowControllerGetWindowUpdateCall struct {
	*gomock.Call
}

StreamFlowControllerGetWindowUpdateCall wrap *gomock.Call

func (*StreamFlowControllerGetWindowUpdateCall) Do

Do rewrite *gomock.Call.Do

func (*StreamFlowControllerGetWindowUpdateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StreamFlowControllerGetWindowUpdateCall) Return

Return rewrite *gomock.Call.Return

type StreamFlowControllerIsNewlyBlockedCall

type StreamFlowControllerIsNewlyBlockedCall struct {
	*gomock.Call
}

StreamFlowControllerIsNewlyBlockedCall wrap *gomock.Call

func (*StreamFlowControllerIsNewlyBlockedCall) Do

Do rewrite *gomock.Call.Do

func (*StreamFlowControllerIsNewlyBlockedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StreamFlowControllerIsNewlyBlockedCall) Return

Return rewrite *gomock.Call.Return

type StreamFlowControllerSendWindowSizeCall

type StreamFlowControllerSendWindowSizeCall struct {
	*gomock.Call
}

StreamFlowControllerSendWindowSizeCall wrap *gomock.Call

func (*StreamFlowControllerSendWindowSizeCall) Do

Do rewrite *gomock.Call.Do

func (*StreamFlowControllerSendWindowSizeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StreamFlowControllerSendWindowSizeCall) Return

Return rewrite *gomock.Call.Return

type StreamFlowControllerUpdateHighestReceivedCall

type StreamFlowControllerUpdateHighestReceivedCall struct {
	*gomock.Call
}

StreamFlowControllerUpdateHighestReceivedCall wrap *gomock.Call

func (*StreamFlowControllerUpdateHighestReceivedCall) Do

Do rewrite *gomock.Call.Do

func (*StreamFlowControllerUpdateHighestReceivedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StreamFlowControllerUpdateHighestReceivedCall) Return

Return rewrite *gomock.Call.Return

type StreamFlowControllerUpdateSendWindowCall

type StreamFlowControllerUpdateSendWindowCall struct {
	*gomock.Call
}

StreamFlowControllerUpdateSendWindowCall wrap *gomock.Call

func (*StreamFlowControllerUpdateSendWindowCall) Do

Do rewrite *gomock.Call.Do

func (*StreamFlowControllerUpdateSendWindowCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StreamFlowControllerUpdateSendWindowCall) Return

Return rewrite *gomock.Call.Return

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.
internal
Code generated by MockGen.
Code generated by MockGen.
Code generated by MockGen.
Code generated by MockGen.
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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