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.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockConnectionFlowController
- func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)
- func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)
- func (m *MockConnectionFlowController) EXPECT() *MockConnectionFlowControllerMockRecorder
- func (m *MockConnectionFlowController) GetWindowUpdate() protocol.ByteCount
- func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
- func (m *MockConnectionFlowController) SendWindowSize() protocol.ByteCount
- func (m *MockConnectionFlowController) UpdateSendWindow(arg0 protocol.ByteCount)
- type MockConnectionFlowControllerMockRecorder
- func (mr *MockConnectionFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) SendWindowSize() *gomock.Call
- func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call
- type MockConnectionTracer
- func (m *MockConnectionTracer) BufferedPacket(arg0 protocol.PacketType)
- func (m *MockConnectionTracer) Close()
- func (m *MockConnectionTracer) ClosedConnection(arg0 logging.CloseReason)
- func (m *MockConnectionTracer) DroppedEncryptionLevel(arg0 protocol.EncryptionLevel)
- func (m *MockConnectionTracer) DroppedPacket(arg0 protocol.PacketType, arg1 protocol.ByteCount, ...)
- func (m *MockConnectionTracer) EXPECT() *MockConnectionTracerMockRecorder
- func (m *MockConnectionTracer) LossTimerCanceled()
- func (m *MockConnectionTracer) LossTimerExpired(arg0 logging.TimerType, arg1 protocol.EncryptionLevel)
- func (m *MockConnectionTracer) LostPacket(arg0 protocol.EncryptionLevel, arg1 protocol.PacketNumber, ...)
- func (m *MockConnectionTracer) ReceivedPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 []logging.Frame)
- func (m *MockConnectionTracer) ReceivedRetry(arg0 *wire.Header)
- func (m *MockConnectionTracer) ReceivedTransportParameters(arg0 *wire.TransportParameters)
- func (m *MockConnectionTracer) ReceivedVersionNegotiationPacket(arg0 *wire.Header, arg1 []protocol.VersionNumber)
- func (m *MockConnectionTracer) SentPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 *wire.AckFrame, ...)
- func (m *MockConnectionTracer) SentTransportParameters(arg0 *wire.TransportParameters)
- func (m *MockConnectionTracer) SetLossTimer(arg0 logging.TimerType, arg1 protocol.EncryptionLevel, arg2 time.Time)
- func (m *MockConnectionTracer) StartedConnection(arg0, arg1 net.Addr, arg2 protocol.VersionNumber, ...)
- func (m *MockConnectionTracer) UpdatedCongestionState(arg0 logging.CongestionState)
- func (m *MockConnectionTracer) UpdatedKey(arg0 protocol.KeyPhase, arg1 bool)
- func (m *MockConnectionTracer) UpdatedKeyFromTLS(arg0 protocol.EncryptionLevel, arg1 protocol.Perspective)
- func (m *MockConnectionTracer) UpdatedMetrics(arg0 *utils.RTTStats, arg1, arg2 protocol.ByteCount, arg3 int)
- func (m *MockConnectionTracer) UpdatedPTOCount(arg0 uint32)
- type MockConnectionTracerMockRecorder
- func (mr *MockConnectionTracerMockRecorder) BufferedPacket(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) Close() *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) ClosedConnection(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) DroppedEncryptionLevel(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) DroppedPacket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) LossTimerCanceled() *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) LossTimerExpired(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) LostPacket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) ReceivedPacket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) ReceivedRetry(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) ReceivedTransportParameters(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) SentPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) SentTransportParameters(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) SetLossTimer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) StartedConnection(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) UpdatedCongestionState(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) UpdatedKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) UpdatedKeyFromTLS(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) UpdatedMetrics(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockConnectionTracerMockRecorder) UpdatedPTOCount(arg0 interface{}) *gomock.Call
- type MockCryptoSetup
- func (m *MockCryptoSetup) ChangeConnectionID(arg0 protocol.ConnectionID)
- func (m *MockCryptoSetup) Close() error
- func (m *MockCryptoSetup) ConnectionState() qtls.ConnectionState
- func (m *MockCryptoSetup) DropHandshakeKeys()
- func (m *MockCryptoSetup) EXPECT() *MockCryptoSetupMockRecorder
- func (m *MockCryptoSetup) Get0RTTOpener() (handshake.LongHeaderOpener, error)
- func (m *MockCryptoSetup) Get0RTTSealer() (handshake.LongHeaderSealer, error)
- func (m *MockCryptoSetup) Get1RTTOpener() (handshake.ShortHeaderOpener, error)
- func (m *MockCryptoSetup) Get1RTTSealer() (handshake.ShortHeaderSealer, error)
- func (m *MockCryptoSetup) GetHandshakeOpener() (handshake.LongHeaderOpener, error)
- func (m *MockCryptoSetup) GetHandshakeSealer() (handshake.LongHeaderSealer, error)
- func (m *MockCryptoSetup) GetInitialOpener() (handshake.LongHeaderOpener, error)
- func (m *MockCryptoSetup) GetInitialSealer() (handshake.LongHeaderSealer, error)
- func (m *MockCryptoSetup) GetSessionTicket() ([]byte, error)
- func (m *MockCryptoSetup) HandleMessage(arg0 []byte, arg1 protocol.EncryptionLevel) bool
- func (m *MockCryptoSetup) RunHandshake()
- func (m *MockCryptoSetup) SetLargest1RTTAcked(arg0 protocol.PacketNumber)
- type MockCryptoSetupMockRecorder
- func (mr *MockCryptoSetupMockRecorder) ChangeConnectionID(arg0 interface{}) *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) Close() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) ConnectionState() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) DropHandshakeKeys() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) Get0RTTOpener() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) Get0RTTSealer() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) Get1RTTOpener() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) Get1RTTSealer() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) GetHandshakeOpener() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) GetHandshakeSealer() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) GetInitialOpener() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) GetInitialSealer() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) GetSessionTicket() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) RunHandshake() *gomock.Call
- func (mr *MockCryptoSetupMockRecorder) SetLargest1RTTAcked(arg0 interface{}) *gomock.Call
- type MockLongHeaderOpener
- type MockLongHeaderOpenerMockRecorder
- type MockSendAlgorithmWithDebugInfos
- func (m *MockSendAlgorithmWithDebugInfos) CanSend(arg0 protocol.ByteCount) bool
- func (m *MockSendAlgorithmWithDebugInfos) EXPECT() *MockSendAlgorithmWithDebugInfosMockRecorder
- func (m *MockSendAlgorithmWithDebugInfos) GetCongestionWindow() protocol.ByteCount
- func (m *MockSendAlgorithmWithDebugInfos) HasPacingBudget() bool
- func (m *MockSendAlgorithmWithDebugInfos) InRecovery() bool
- func (m *MockSendAlgorithmWithDebugInfos) InSlowStart() bool
- func (m *MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart()
- func (m *MockSendAlgorithmWithDebugInfos) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)
- func (m *MockSendAlgorithmWithDebugInfos) OnPacketLost(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)
- func (m *MockSendAlgorithmWithDebugInfos) OnPacketSent(arg0 time.Time, arg1 protocol.ByteCount, arg2 protocol.PacketNumber, ...)
- func (m *MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout(arg0 bool)
- func (m *MockSendAlgorithmWithDebugInfos) TimeUntilSend(arg0 protocol.ByteCount) time.Time
- type MockSendAlgorithmWithDebugInfosMockRecorder
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) CanSend(arg0 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow() *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget() *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery() *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart() *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart() *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketLost(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout(arg0 interface{}) *gomock.Call
- func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend(arg0 interface{}) *gomock.Call
- type MockShortHeaderOpener
- type MockShortHeaderOpenerMockRecorder
- type MockShortHeaderSealer
- func (m *MockShortHeaderSealer) EXPECT() *MockShortHeaderSealerMockRecorder
- func (m *MockShortHeaderSealer) EncryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
- func (m *MockShortHeaderSealer) KeyPhase() protocol.KeyPhaseBit
- func (m *MockShortHeaderSealer) Overhead() int
- func (m *MockShortHeaderSealer) Seal(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) []byte
- type MockShortHeaderSealerMockRecorder
- func (mr *MockShortHeaderSealerMockRecorder) EncryptHeader(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockShortHeaderSealerMockRecorder) KeyPhase() *gomock.Call
- func (mr *MockShortHeaderSealerMockRecorder) Overhead() *gomock.Call
- func (mr *MockShortHeaderSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockStreamFlowController
- func (m *MockStreamFlowController) Abandon()
- func (m *MockStreamFlowController) AddBytesRead(arg0 protocol.ByteCount)
- func (m *MockStreamFlowController) AddBytesSent(arg0 protocol.ByteCount)
- func (m *MockStreamFlowController) EXPECT() *MockStreamFlowControllerMockRecorder
- func (m *MockStreamFlowController) GetWindowUpdate() protocol.ByteCount
- func (m *MockStreamFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
- func (m *MockStreamFlowController) SendWindowSize() protocol.ByteCount
- func (m *MockStreamFlowController) UpdateHighestReceived(arg0 protocol.ByteCount, arg1 bool) error
- func (m *MockStreamFlowController) UpdateSendWindow(arg0 protocol.ByteCount)
- type MockStreamFlowControllerMockRecorder
- func (mr *MockStreamFlowControllerMockRecorder) Abandon() *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call
- type MockTracer
- func (m *MockTracer) DroppedPacket(arg0 net.Addr, arg1 protocol.PacketType, arg2 protocol.ByteCount, ...)
- func (m *MockTracer) EXPECT() *MockTracerMockRecorder
- func (m *MockTracer) SentPacket(arg0 net.Addr, arg1 *wire.Header, arg2 protocol.ByteCount, ...)
- func (m *MockTracer) TracerForConnection(arg0 protocol.Perspective, arg1 protocol.ConnectionID) logging.ConnectionTracer
- type MockTracerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnectionFlowController ¶
type MockConnectionFlowController struct {
// contains filtered or unexported fields
}
MockConnectionFlowController is a mock of ConnectionFlowController interface
func NewMockConnectionFlowController ¶
func NewMockConnectionFlowController(ctrl *gomock.Controller) *MockConnectionFlowController
NewMockConnectionFlowController creates a new mock instance
func (*MockConnectionFlowController) AddBytesRead ¶
func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)
AddBytesRead mocks base method
func (*MockConnectionFlowController) AddBytesSent ¶
func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)
AddBytesSent mocks base method
func (*MockConnectionFlowController) EXPECT ¶
func (m *MockConnectionFlowController) EXPECT() *MockConnectionFlowControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConnectionFlowController) GetWindowUpdate ¶
func (m *MockConnectionFlowController) GetWindowUpdate() protocol.ByteCount
GetWindowUpdate mocks base method
func (*MockConnectionFlowController) IsNewlyBlocked ¶ added in v0.7.0
func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
IsNewlyBlocked mocks base method
func (*MockConnectionFlowController) 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 ¶
func (mr *MockConnectionFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call
AddBytesRead indicates an expected call of AddBytesRead
func (*MockConnectionFlowControllerMockRecorder) AddBytesSent ¶
func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call
AddBytesSent indicates an expected call of AddBytesSent
func (*MockConnectionFlowControllerMockRecorder) GetWindowUpdate ¶
func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call
GetWindowUpdate indicates an expected call of GetWindowUpdate
func (*MockConnectionFlowControllerMockRecorder) IsNewlyBlocked ¶ added in v0.7.0
func (mr *MockConnectionFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call
IsNewlyBlocked indicates an expected call of IsNewlyBlocked
func (*MockConnectionFlowControllerMockRecorder) SendWindowSize ¶
func (mr *MockConnectionFlowControllerMockRecorder) SendWindowSize() *gomock.Call
SendWindowSize indicates an expected call of SendWindowSize
func (*MockConnectionFlowControllerMockRecorder) UpdateSendWindow ¶
func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call
UpdateSendWindow indicates an expected call of UpdateSendWindow
type MockConnectionTracer ¶ added in v0.18.0
type MockConnectionTracer struct {
// contains filtered or unexported fields
}
MockConnectionTracer is a mock of ConnectionTracer interface
func NewMockConnectionTracer ¶ added in v0.18.0
func NewMockConnectionTracer(ctrl *gomock.Controller) *MockConnectionTracer
NewMockConnectionTracer creates a new mock instance
func (*MockConnectionTracer) BufferedPacket ¶ added in v0.18.0
func (m *MockConnectionTracer) BufferedPacket(arg0 protocol.PacketType)
BufferedPacket mocks base method
func (*MockConnectionTracer) Close ¶ added in v0.18.0
func (m *MockConnectionTracer) Close()
Close mocks base method
func (*MockConnectionTracer) ClosedConnection ¶ added in v0.18.0
func (m *MockConnectionTracer) ClosedConnection(arg0 logging.CloseReason)
ClosedConnection mocks base method
func (*MockConnectionTracer) DroppedEncryptionLevel ¶ added in v0.18.0
func (m *MockConnectionTracer) DroppedEncryptionLevel(arg0 protocol.EncryptionLevel)
DroppedEncryptionLevel mocks base method
func (*MockConnectionTracer) DroppedPacket ¶ added in v0.18.0
func (m *MockConnectionTracer) DroppedPacket(arg0 protocol.PacketType, arg1 protocol.ByteCount, arg2 logging.PacketDropReason)
DroppedPacket mocks base method
func (*MockConnectionTracer) EXPECT ¶ added in v0.18.0
func (m *MockConnectionTracer) EXPECT() *MockConnectionTracerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConnectionTracer) LossTimerCanceled ¶ added in v0.18.0
func (m *MockConnectionTracer) LossTimerCanceled()
LossTimerCanceled mocks base method
func (*MockConnectionTracer) LossTimerExpired ¶ added in v0.18.0
func (m *MockConnectionTracer) LossTimerExpired(arg0 logging.TimerType, arg1 protocol.EncryptionLevel)
LossTimerExpired mocks base method
func (*MockConnectionTracer) LostPacket ¶ added in v0.18.0
func (m *MockConnectionTracer) LostPacket(arg0 protocol.EncryptionLevel, arg1 protocol.PacketNumber, arg2 logging.PacketLossReason)
LostPacket mocks base method
func (*MockConnectionTracer) ReceivedPacket ¶ added in v0.18.0
func (m *MockConnectionTracer) ReceivedPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 []logging.Frame)
ReceivedPacket mocks base method
func (*MockConnectionTracer) ReceivedRetry ¶ added in v0.18.0
func (m *MockConnectionTracer) ReceivedRetry(arg0 *wire.Header)
ReceivedRetry mocks base method
func (*MockConnectionTracer) ReceivedTransportParameters ¶ added in v0.18.0
func (m *MockConnectionTracer) ReceivedTransportParameters(arg0 *wire.TransportParameters)
ReceivedTransportParameters mocks base method
func (*MockConnectionTracer) ReceivedVersionNegotiationPacket ¶ added in v0.18.0
func (m *MockConnectionTracer) ReceivedVersionNegotiationPacket(arg0 *wire.Header, arg1 []protocol.VersionNumber)
ReceivedVersionNegotiationPacket mocks base method
func (*MockConnectionTracer) SentPacket ¶ added in v0.18.0
func (m *MockConnectionTracer) SentPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 *wire.AckFrame, arg3 []logging.Frame)
SentPacket mocks base method
func (*MockConnectionTracer) SentTransportParameters ¶ added in v0.18.0
func (m *MockConnectionTracer) SentTransportParameters(arg0 *wire.TransportParameters)
SentTransportParameters mocks base method
func (*MockConnectionTracer) SetLossTimer ¶ added in v0.18.0
func (m *MockConnectionTracer) SetLossTimer(arg0 logging.TimerType, arg1 protocol.EncryptionLevel, arg2 time.Time)
SetLossTimer mocks base method
func (*MockConnectionTracer) StartedConnection ¶ added in v0.18.0
func (m *MockConnectionTracer) StartedConnection(arg0, arg1 net.Addr, arg2 protocol.VersionNumber, arg3, arg4 protocol.ConnectionID)
StartedConnection mocks base method
func (*MockConnectionTracer) UpdatedCongestionState ¶ added in v0.18.0
func (m *MockConnectionTracer) UpdatedCongestionState(arg0 logging.CongestionState)
UpdatedCongestionState mocks base method
func (*MockConnectionTracer) UpdatedKey ¶ added in v0.18.0
func (m *MockConnectionTracer) UpdatedKey(arg0 protocol.KeyPhase, arg1 bool)
UpdatedKey mocks base method
func (*MockConnectionTracer) UpdatedKeyFromTLS ¶ added in v0.18.0
func (m *MockConnectionTracer) UpdatedKeyFromTLS(arg0 protocol.EncryptionLevel, arg1 protocol.Perspective)
UpdatedKeyFromTLS mocks base method
func (*MockConnectionTracer) UpdatedMetrics ¶ added in v0.18.0
func (m *MockConnectionTracer) UpdatedMetrics(arg0 *utils.RTTStats, arg1, arg2 protocol.ByteCount, arg3 int)
UpdatedMetrics mocks base method
func (*MockConnectionTracer) UpdatedPTOCount ¶ added in v0.18.0
func (m *MockConnectionTracer) UpdatedPTOCount(arg0 uint32)
UpdatedPTOCount mocks base method
type MockConnectionTracerMockRecorder ¶ added in v0.18.0
type MockConnectionTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionTracerMockRecorder is the mock recorder for MockConnectionTracer
func (*MockConnectionTracerMockRecorder) BufferedPacket ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) BufferedPacket(arg0 interface{}) *gomock.Call
BufferedPacket indicates an expected call of BufferedPacket
func (*MockConnectionTracerMockRecorder) Close ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockConnectionTracerMockRecorder) ClosedConnection ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) ClosedConnection(arg0 interface{}) *gomock.Call
ClosedConnection indicates an expected call of ClosedConnection
func (*MockConnectionTracerMockRecorder) DroppedEncryptionLevel ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) DroppedEncryptionLevel(arg0 interface{}) *gomock.Call
DroppedEncryptionLevel indicates an expected call of DroppedEncryptionLevel
func (*MockConnectionTracerMockRecorder) DroppedPacket ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) DroppedPacket(arg0, arg1, arg2 interface{}) *gomock.Call
DroppedPacket indicates an expected call of DroppedPacket
func (*MockConnectionTracerMockRecorder) LossTimerCanceled ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) LossTimerCanceled() *gomock.Call
LossTimerCanceled indicates an expected call of LossTimerCanceled
func (*MockConnectionTracerMockRecorder) LossTimerExpired ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) LossTimerExpired(arg0, arg1 interface{}) *gomock.Call
LossTimerExpired indicates an expected call of LossTimerExpired
func (*MockConnectionTracerMockRecorder) LostPacket ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) LostPacket(arg0, arg1, arg2 interface{}) *gomock.Call
LostPacket indicates an expected call of LostPacket
func (*MockConnectionTracerMockRecorder) ReceivedPacket ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) ReceivedPacket(arg0, arg1, arg2 interface{}) *gomock.Call
ReceivedPacket indicates an expected call of ReceivedPacket
func (*MockConnectionTracerMockRecorder) ReceivedRetry ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) ReceivedRetry(arg0 interface{}) *gomock.Call
ReceivedRetry indicates an expected call of ReceivedRetry
func (*MockConnectionTracerMockRecorder) ReceivedTransportParameters ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) ReceivedTransportParameters(arg0 interface{}) *gomock.Call
ReceivedTransportParameters indicates an expected call of ReceivedTransportParameters
func (*MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket(arg0, arg1 interface{}) *gomock.Call
ReceivedVersionNegotiationPacket indicates an expected call of ReceivedVersionNegotiationPacket
func (*MockConnectionTracerMockRecorder) SentPacket ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) SentPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SentPacket indicates an expected call of SentPacket
func (*MockConnectionTracerMockRecorder) SentTransportParameters ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) SentTransportParameters(arg0 interface{}) *gomock.Call
SentTransportParameters indicates an expected call of SentTransportParameters
func (*MockConnectionTracerMockRecorder) SetLossTimer ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) SetLossTimer(arg0, arg1, arg2 interface{}) *gomock.Call
SetLossTimer indicates an expected call of SetLossTimer
func (*MockConnectionTracerMockRecorder) StartedConnection ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) StartedConnection(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StartedConnection indicates an expected call of StartedConnection
func (*MockConnectionTracerMockRecorder) UpdatedCongestionState ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) UpdatedCongestionState(arg0 interface{}) *gomock.Call
UpdatedCongestionState indicates an expected call of UpdatedCongestionState
func (*MockConnectionTracerMockRecorder) UpdatedKey ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) UpdatedKey(arg0, arg1 interface{}) *gomock.Call
UpdatedKey indicates an expected call of UpdatedKey
func (*MockConnectionTracerMockRecorder) UpdatedKeyFromTLS ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) UpdatedKeyFromTLS(arg0, arg1 interface{}) *gomock.Call
UpdatedKeyFromTLS indicates an expected call of UpdatedKeyFromTLS
func (*MockConnectionTracerMockRecorder) UpdatedMetrics ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) UpdatedMetrics(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdatedMetrics indicates an expected call of UpdatedMetrics
func (*MockConnectionTracerMockRecorder) UpdatedPTOCount ¶ added in v0.18.0
func (mr *MockConnectionTracerMockRecorder) UpdatedPTOCount(arg0 interface{}) *gomock.Call
UpdatedPTOCount indicates an expected call of UpdatedPTOCount
type MockCryptoSetup ¶ added in v0.11.0
type MockCryptoSetup struct {
// contains filtered or unexported fields
}
MockCryptoSetup is a mock of CryptoSetup interface
func NewMockCryptoSetup ¶ added in v0.11.0
func NewMockCryptoSetup(ctrl *gomock.Controller) *MockCryptoSetup
NewMockCryptoSetup creates a new mock instance
func (*MockCryptoSetup) ChangeConnectionID ¶ added in v0.11.0
func (m *MockCryptoSetup) ChangeConnectionID(arg0 protocol.ConnectionID)
ChangeConnectionID mocks base method
func (*MockCryptoSetup) Close ¶ added in v0.11.0
func (m *MockCryptoSetup) Close() error
Close mocks base method
func (*MockCryptoSetup) ConnectionState ¶ added in v0.11.0
func (m *MockCryptoSetup) ConnectionState() qtls.ConnectionState
ConnectionState mocks base method
func (*MockCryptoSetup) DropHandshakeKeys ¶ added in v0.15.0
func (m *MockCryptoSetup) DropHandshakeKeys()
DropHandshakeKeys mocks base method
func (*MockCryptoSetup) EXPECT ¶ added in v0.11.0
func (m *MockCryptoSetup) EXPECT() *MockCryptoSetupMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCryptoSetup) Get0RTTOpener ¶ added in v0.15.0
func (m *MockCryptoSetup) Get0RTTOpener() (handshake.LongHeaderOpener, error)
Get0RTTOpener mocks base method
func (*MockCryptoSetup) Get0RTTSealer ¶ added in v0.15.0
func (m *MockCryptoSetup) Get0RTTSealer() (handshake.LongHeaderSealer, error)
Get0RTTSealer mocks base method
func (*MockCryptoSetup) Get1RTTOpener ¶ added in v0.12.0
func (m *MockCryptoSetup) Get1RTTOpener() (handshake.ShortHeaderOpener, error)
Get1RTTOpener mocks base method
func (*MockCryptoSetup) Get1RTTSealer ¶ added in v0.12.0
func (m *MockCryptoSetup) Get1RTTSealer() (handshake.ShortHeaderSealer, error)
Get1RTTSealer mocks base method
func (*MockCryptoSetup) GetHandshakeOpener ¶ added in v0.12.0
func (m *MockCryptoSetup) GetHandshakeOpener() (handshake.LongHeaderOpener, error)
GetHandshakeOpener mocks base method
func (*MockCryptoSetup) GetHandshakeSealer ¶ added in v0.12.0
func (m *MockCryptoSetup) GetHandshakeSealer() (handshake.LongHeaderSealer, error)
GetHandshakeSealer mocks base method
func (*MockCryptoSetup) GetInitialOpener ¶ added in v0.12.0
func (m *MockCryptoSetup) GetInitialOpener() (handshake.LongHeaderOpener, error)
GetInitialOpener mocks base method
func (*MockCryptoSetup) GetInitialSealer ¶ added in v0.12.0
func (m *MockCryptoSetup) GetInitialSealer() (handshake.LongHeaderSealer, error)
GetInitialSealer mocks base method
func (*MockCryptoSetup) GetSessionTicket ¶ added in v0.15.0
func (m *MockCryptoSetup) GetSessionTicket() ([]byte, error)
GetSessionTicket mocks base method
func (*MockCryptoSetup) HandleMessage ¶ added in v0.11.0
func (m *MockCryptoSetup) HandleMessage(arg0 []byte, arg1 protocol.EncryptionLevel) bool
HandleMessage mocks base method
func (*MockCryptoSetup) RunHandshake ¶ added in v0.11.0
func (m *MockCryptoSetup) RunHandshake()
RunHandshake mocks base method
func (*MockCryptoSetup) SetLargest1RTTAcked ¶ added in v0.12.0
func (m *MockCryptoSetup) SetLargest1RTTAcked(arg0 protocol.PacketNumber)
SetLargest1RTTAcked mocks base method
type MockCryptoSetupMockRecorder ¶ added in v0.11.0
type MockCryptoSetupMockRecorder struct {
// contains filtered or unexported fields
}
MockCryptoSetupMockRecorder is the mock recorder for MockCryptoSetup
func (*MockCryptoSetupMockRecorder) ChangeConnectionID ¶ added in v0.11.0
func (mr *MockCryptoSetupMockRecorder) ChangeConnectionID(arg0 interface{}) *gomock.Call
ChangeConnectionID indicates an expected call of ChangeConnectionID
func (*MockCryptoSetupMockRecorder) Close ¶ added in v0.11.0
func (mr *MockCryptoSetupMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockCryptoSetupMockRecorder) ConnectionState ¶ added in v0.11.0
func (mr *MockCryptoSetupMockRecorder) ConnectionState() *gomock.Call
ConnectionState indicates an expected call of ConnectionState
func (*MockCryptoSetupMockRecorder) DropHandshakeKeys ¶ added in v0.15.0
func (mr *MockCryptoSetupMockRecorder) DropHandshakeKeys() *gomock.Call
DropHandshakeKeys indicates an expected call of DropHandshakeKeys
func (*MockCryptoSetupMockRecorder) Get0RTTOpener ¶ added in v0.15.0
func (mr *MockCryptoSetupMockRecorder) Get0RTTOpener() *gomock.Call
Get0RTTOpener indicates an expected call of Get0RTTOpener
func (*MockCryptoSetupMockRecorder) Get0RTTSealer ¶ added in v0.15.0
func (mr *MockCryptoSetupMockRecorder) Get0RTTSealer() *gomock.Call
Get0RTTSealer indicates an expected call of Get0RTTSealer
func (*MockCryptoSetupMockRecorder) Get1RTTOpener ¶ added in v0.12.0
func (mr *MockCryptoSetupMockRecorder) Get1RTTOpener() *gomock.Call
Get1RTTOpener indicates an expected call of Get1RTTOpener
func (*MockCryptoSetupMockRecorder) Get1RTTSealer ¶ added in v0.12.0
func (mr *MockCryptoSetupMockRecorder) Get1RTTSealer() *gomock.Call
Get1RTTSealer indicates an expected call of Get1RTTSealer
func (*MockCryptoSetupMockRecorder) GetHandshakeOpener ¶ added in v0.12.0
func (mr *MockCryptoSetupMockRecorder) GetHandshakeOpener() *gomock.Call
GetHandshakeOpener indicates an expected call of GetHandshakeOpener
func (*MockCryptoSetupMockRecorder) GetHandshakeSealer ¶ added in v0.12.0
func (mr *MockCryptoSetupMockRecorder) GetHandshakeSealer() *gomock.Call
GetHandshakeSealer indicates an expected call of GetHandshakeSealer
func (*MockCryptoSetupMockRecorder) GetInitialOpener ¶ added in v0.12.0
func (mr *MockCryptoSetupMockRecorder) GetInitialOpener() *gomock.Call
GetInitialOpener indicates an expected call of GetInitialOpener
func (*MockCryptoSetupMockRecorder) GetInitialSealer ¶ added in v0.12.0
func (mr *MockCryptoSetupMockRecorder) GetInitialSealer() *gomock.Call
GetInitialSealer indicates an expected call of GetInitialSealer
func (*MockCryptoSetupMockRecorder) GetSessionTicket ¶ added in v0.15.0
func (mr *MockCryptoSetupMockRecorder) GetSessionTicket() *gomock.Call
GetSessionTicket indicates an expected call of GetSessionTicket
func (*MockCryptoSetupMockRecorder) HandleMessage ¶ added in v0.11.0
func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 interface{}) *gomock.Call
HandleMessage indicates an expected call of HandleMessage
func (*MockCryptoSetupMockRecorder) RunHandshake ¶ added in v0.11.0
func (mr *MockCryptoSetupMockRecorder) RunHandshake() *gomock.Call
RunHandshake indicates an expected call of RunHandshake
func (*MockCryptoSetupMockRecorder) SetLargest1RTTAcked ¶ added in v0.12.0
func (mr *MockCryptoSetupMockRecorder) SetLargest1RTTAcked(arg0 interface{}) *gomock.Call
SetLargest1RTTAcked indicates an expected call of SetLargest1RTTAcked
type MockLongHeaderOpener ¶ added in v0.12.0
type MockLongHeaderOpener struct {
// contains filtered or unexported fields
}
MockLongHeaderOpener is a mock of LongHeaderOpener interface
func NewMockLongHeaderOpener ¶ added in v0.12.0
func NewMockLongHeaderOpener(ctrl *gomock.Controller) *MockLongHeaderOpener
NewMockLongHeaderOpener creates a new mock instance
func (*MockLongHeaderOpener) DecryptHeader ¶ added in v0.12.0
func (m *MockLongHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
DecryptHeader mocks base method
func (*MockLongHeaderOpener) EXPECT ¶ added in v0.12.0
func (m *MockLongHeaderOpener) EXPECT() *MockLongHeaderOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLongHeaderOpener) Open ¶ added in v0.12.0
func (m *MockLongHeaderOpener) Open(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) ([]byte, error)
Open mocks base method
type MockLongHeaderOpenerMockRecorder ¶ added in v0.12.0
type MockLongHeaderOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockLongHeaderOpenerMockRecorder is the mock recorder for MockLongHeaderOpener
func (*MockLongHeaderOpenerMockRecorder) DecryptHeader ¶ added in v0.12.0
func (mr *MockLongHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 interface{}) *gomock.Call
DecryptHeader indicates an expected call of DecryptHeader
func (*MockLongHeaderOpenerMockRecorder) Open ¶ added in v0.12.0
func (mr *MockLongHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Open indicates an expected call of Open
type MockSendAlgorithmWithDebugInfos ¶ added in v0.12.0
type MockSendAlgorithmWithDebugInfos struct {
// contains filtered or unexported fields
}
MockSendAlgorithmWithDebugInfos is a mock of SendAlgorithmWithDebugInfos interface
func NewMockSendAlgorithmWithDebugInfos ¶ added in v0.12.0
func NewMockSendAlgorithmWithDebugInfos(ctrl *gomock.Controller) *MockSendAlgorithmWithDebugInfos
NewMockSendAlgorithmWithDebugInfos creates a new mock instance
func (*MockSendAlgorithmWithDebugInfos) CanSend ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) CanSend(arg0 protocol.ByteCount) bool
CanSend mocks base method
func (*MockSendAlgorithmWithDebugInfos) EXPECT ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) EXPECT() *MockSendAlgorithmWithDebugInfosMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSendAlgorithmWithDebugInfos) GetCongestionWindow ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) GetCongestionWindow() protocol.ByteCount
GetCongestionWindow mocks base method
func (*MockSendAlgorithmWithDebugInfos) HasPacingBudget ¶ added in v0.18.0
func (m *MockSendAlgorithmWithDebugInfos) HasPacingBudget() bool
HasPacingBudget mocks base method
func (*MockSendAlgorithmWithDebugInfos) InRecovery ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) InRecovery() bool
InRecovery mocks base method
func (*MockSendAlgorithmWithDebugInfos) InSlowStart ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) InSlowStart() bool
InSlowStart mocks base method
func (*MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart()
MaybeExitSlowStart mocks base method
func (*MockSendAlgorithmWithDebugInfos) OnPacketAcked ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)
OnPacketAcked mocks base method
func (*MockSendAlgorithmWithDebugInfos) OnPacketLost ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) OnPacketLost(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)
OnPacketLost mocks base method
func (*MockSendAlgorithmWithDebugInfos) OnPacketSent ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) OnPacketSent(arg0 time.Time, arg1 protocol.ByteCount, arg2 protocol.PacketNumber, arg3 protocol.ByteCount, arg4 bool)
OnPacketSent mocks base method
func (*MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout(arg0 bool)
OnRetransmissionTimeout mocks base method
func (*MockSendAlgorithmWithDebugInfos) TimeUntilSend ¶ added in v0.12.0
func (m *MockSendAlgorithmWithDebugInfos) TimeUntilSend(arg0 protocol.ByteCount) time.Time
TimeUntilSend mocks base method
type MockSendAlgorithmWithDebugInfosMockRecorder ¶ added in v0.12.0
type MockSendAlgorithmWithDebugInfosMockRecorder struct {
// contains filtered or unexported fields
}
MockSendAlgorithmWithDebugInfosMockRecorder is the mock recorder for MockSendAlgorithmWithDebugInfos
func (*MockSendAlgorithmWithDebugInfosMockRecorder) CanSend ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) CanSend(arg0 interface{}) *gomock.Call
CanSend indicates an expected call of CanSend
func (*MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow() *gomock.Call
GetCongestionWindow indicates an expected call of GetCongestionWindow
func (*MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget ¶ added in v0.18.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget() *gomock.Call
HasPacingBudget indicates an expected call of HasPacingBudget
func (*MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery() *gomock.Call
InRecovery indicates an expected call of InRecovery
func (*MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart() *gomock.Call
InSlowStart indicates an expected call of InSlowStart
func (*MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart() *gomock.Call
MaybeExitSlowStart indicates an expected call of MaybeExitSlowStart
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
OnPacketAcked indicates an expected call of OnPacketAcked
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketLost ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketLost(arg0, arg1, arg2 interface{}) *gomock.Call
OnPacketLost indicates an expected call of OnPacketLost
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
OnPacketSent indicates an expected call of OnPacketSent
func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout(arg0 interface{}) *gomock.Call
OnRetransmissionTimeout indicates an expected call of OnRetransmissionTimeout
func (*MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend ¶ added in v0.12.0
func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend(arg0 interface{}) *gomock.Call
TimeUntilSend indicates an expected call of TimeUntilSend
type MockShortHeaderOpener ¶ added in v0.12.0
type MockShortHeaderOpener struct {
// contains filtered or unexported fields
}
MockShortHeaderOpener is a mock of ShortHeaderOpener interface
func NewMockShortHeaderOpener ¶ added in v0.12.0
func NewMockShortHeaderOpener(ctrl *gomock.Controller) *MockShortHeaderOpener
NewMockShortHeaderOpener creates a new mock instance
func (*MockShortHeaderOpener) DecryptHeader ¶ added in v0.12.0
func (m *MockShortHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
DecryptHeader mocks base method
func (*MockShortHeaderOpener) EXPECT ¶ added in v0.12.0
func (m *MockShortHeaderOpener) EXPECT() *MockShortHeaderOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockShortHeaderOpener) Open ¶ added in v0.12.0
func (m *MockShortHeaderOpener) Open(arg0, arg1 []byte, arg2 time.Time, arg3 protocol.PacketNumber, arg4 protocol.KeyPhaseBit, arg5 []byte) ([]byte, error)
Open mocks base method
type MockShortHeaderOpenerMockRecorder ¶ added in v0.12.0
type MockShortHeaderOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockShortHeaderOpenerMockRecorder is the mock recorder for MockShortHeaderOpener
func (*MockShortHeaderOpenerMockRecorder) DecryptHeader ¶ added in v0.12.0
func (mr *MockShortHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 interface{}) *gomock.Call
DecryptHeader indicates an expected call of DecryptHeader
func (*MockShortHeaderOpenerMockRecorder) Open ¶ added in v0.12.0
func (mr *MockShortHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Open indicates an expected call of Open
type MockShortHeaderSealer ¶ added in v0.12.0
type MockShortHeaderSealer struct {
// contains filtered or unexported fields
}
MockShortHeaderSealer is a mock of ShortHeaderSealer interface
func NewMockShortHeaderSealer ¶ added in v0.12.0
func NewMockShortHeaderSealer(ctrl *gomock.Controller) *MockShortHeaderSealer
NewMockShortHeaderSealer creates a new mock instance
func (*MockShortHeaderSealer) EXPECT ¶ added in v0.12.0
func (m *MockShortHeaderSealer) EXPECT() *MockShortHeaderSealerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockShortHeaderSealer) EncryptHeader ¶ added in v0.12.0
func (m *MockShortHeaderSealer) EncryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)
EncryptHeader mocks base method
func (*MockShortHeaderSealer) KeyPhase ¶ added in v0.12.0
func (m *MockShortHeaderSealer) KeyPhase() protocol.KeyPhaseBit
KeyPhase mocks base method
func (*MockShortHeaderSealer) Overhead ¶ added in v0.12.0
func (m *MockShortHeaderSealer) Overhead() int
Overhead mocks base method
func (*MockShortHeaderSealer) Seal ¶ added in v0.12.0
func (m *MockShortHeaderSealer) Seal(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) []byte
Seal mocks base method
type MockShortHeaderSealerMockRecorder ¶ added in v0.12.0
type MockShortHeaderSealerMockRecorder struct {
// contains filtered or unexported fields
}
MockShortHeaderSealerMockRecorder is the mock recorder for MockShortHeaderSealer
func (*MockShortHeaderSealerMockRecorder) EncryptHeader ¶ added in v0.12.0
func (mr *MockShortHeaderSealerMockRecorder) EncryptHeader(arg0, arg1, arg2 interface{}) *gomock.Call
EncryptHeader indicates an expected call of EncryptHeader
func (*MockShortHeaderSealerMockRecorder) KeyPhase ¶ added in v0.12.0
func (mr *MockShortHeaderSealerMockRecorder) KeyPhase() *gomock.Call
KeyPhase indicates an expected call of KeyPhase
func (*MockShortHeaderSealerMockRecorder) Overhead ¶ added in v0.12.0
func (mr *MockShortHeaderSealerMockRecorder) Overhead() *gomock.Call
Overhead indicates an expected call of Overhead
func (*MockShortHeaderSealerMockRecorder) Seal ¶ added in v0.12.0
func (mr *MockShortHeaderSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
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 ¶ added in v0.11.0
func (m *MockStreamFlowController) Abandon()
Abandon mocks base method
func (*MockStreamFlowController) AddBytesRead ¶
func (m *MockStreamFlowController) AddBytesRead(arg0 protocol.ByteCount)
AddBytesRead mocks base method
func (*MockStreamFlowController) AddBytesSent ¶
func (m *MockStreamFlowController) AddBytesSent(arg0 protocol.ByteCount)
AddBytesSent mocks base method
func (*MockStreamFlowController) EXPECT ¶
func (m *MockStreamFlowController) EXPECT() *MockStreamFlowControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStreamFlowController) GetWindowUpdate ¶
func (m *MockStreamFlowController) GetWindowUpdate() protocol.ByteCount
GetWindowUpdate mocks base method
func (*MockStreamFlowController) IsNewlyBlocked ¶ added in v0.9.0
func (m *MockStreamFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)
IsNewlyBlocked mocks base method
func (*MockStreamFlowController) SendWindowSize ¶
func (m *MockStreamFlowController) SendWindowSize() protocol.ByteCount
SendWindowSize mocks base method
func (*MockStreamFlowController) UpdateHighestReceived ¶
func (m *MockStreamFlowController) UpdateHighestReceived(arg0 protocol.ByteCount, arg1 bool) error
UpdateHighestReceived mocks base method
func (*MockStreamFlowController) UpdateSendWindow ¶
func (m *MockStreamFlowController) UpdateSendWindow(arg0 protocol.ByteCount)
UpdateSendWindow mocks base method
type MockStreamFlowControllerMockRecorder ¶
type MockStreamFlowControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamFlowControllerMockRecorder is the mock recorder for MockStreamFlowController
func (*MockStreamFlowControllerMockRecorder) Abandon ¶ added in v0.11.0
func (mr *MockStreamFlowControllerMockRecorder) Abandon() *gomock.Call
Abandon indicates an expected call of Abandon
func (*MockStreamFlowControllerMockRecorder) AddBytesRead ¶
func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call
AddBytesRead indicates an expected call of AddBytesRead
func (*MockStreamFlowControllerMockRecorder) AddBytesSent ¶
func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call
AddBytesSent indicates an expected call of AddBytesSent
func (*MockStreamFlowControllerMockRecorder) GetWindowUpdate ¶
func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call
GetWindowUpdate indicates an expected call of GetWindowUpdate
func (*MockStreamFlowControllerMockRecorder) IsNewlyBlocked ¶ added in v0.9.0
func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call
IsNewlyBlocked indicates an expected call of IsNewlyBlocked
func (*MockStreamFlowControllerMockRecorder) SendWindowSize ¶
func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *gomock.Call
SendWindowSize indicates an expected call of SendWindowSize
func (*MockStreamFlowControllerMockRecorder) UpdateHighestReceived ¶
func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 interface{}) *gomock.Call
UpdateHighestReceived indicates an expected call of UpdateHighestReceived
func (*MockStreamFlowControllerMockRecorder) UpdateSendWindow ¶
func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call
UpdateSendWindow indicates an expected call of UpdateSendWindow
type MockTracer ¶ added in v0.15.3
type MockTracer struct {
// contains filtered or unexported fields
}
MockTracer is a mock of Tracer interface
func NewMockTracer ¶ added in v0.15.3
func NewMockTracer(ctrl *gomock.Controller) *MockTracer
NewMockTracer creates a new mock instance
func (*MockTracer) DroppedPacket ¶ added in v0.15.3
func (m *MockTracer) DroppedPacket(arg0 net.Addr, arg1 protocol.PacketType, arg2 protocol.ByteCount, arg3 logging.PacketDropReason)
DroppedPacket mocks base method
func (*MockTracer) EXPECT ¶ added in v0.15.3
func (m *MockTracer) EXPECT() *MockTracerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTracer) SentPacket ¶ added in v0.15.3
func (m *MockTracer) SentPacket(arg0 net.Addr, arg1 *wire.Header, arg2 protocol.ByteCount, arg3 []logging.Frame)
SentPacket mocks base method
func (*MockTracer) TracerForConnection ¶ added in v0.18.0
func (m *MockTracer) TracerForConnection(arg0 protocol.Perspective, arg1 protocol.ConnectionID) logging.ConnectionTracer
TracerForConnection mocks base method
type MockTracerMockRecorder ¶ added in v0.15.3
type MockTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockTracerMockRecorder is the mock recorder for MockTracer
func (*MockTracerMockRecorder) DroppedPacket ¶ added in v0.15.3
func (mr *MockTracerMockRecorder) DroppedPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DroppedPacket indicates an expected call of DroppedPacket
func (*MockTracerMockRecorder) SentPacket ¶ added in v0.15.3
func (mr *MockTracerMockRecorder) SentPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SentPacket indicates an expected call of SentPacket
func (*MockTracerMockRecorder) TracerForConnection ¶ added in v0.18.0
func (mr *MockTracerMockRecorder) TracerForConnection(arg0, arg1 interface{}) *gomock.Call
TracerForConnection indicates an expected call of TracerForConnection
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package mockackhandler is a generated GoMock package.
|
Package mockackhandler 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. |