Documentation ¶
Overview ¶
Package internal is a generated GoMock package.
Package internal is a generated GoMock package.
Index ¶
- type MockConnectionTracer
- func (m *MockConnectionTracer) AcknowledgedPacket(arg0 protocol.EncryptionLevel, arg1 protocol.PacketNumber)
- func (m *MockConnectionTracer) BufferedPacket(arg0 logging.PacketType, arg1 protocol.ByteCount)
- func (m *MockConnectionTracer) ChoseALPN(arg0 string)
- func (m *MockConnectionTracer) Close()
- func (m *MockConnectionTracer) ClosedConnection(arg0 error)
- func (m *MockConnectionTracer) Debug(arg0, arg1 string)
- func (m *MockConnectionTracer) DroppedEncryptionLevel(arg0 protocol.EncryptionLevel)
- func (m *MockConnectionTracer) DroppedKey(arg0 protocol.KeyPhase)
- func (m *MockConnectionTracer) DroppedPacket(arg0 logging.PacketType, arg1 protocol.PacketNumber, arg2 protocol.ByteCount, ...)
- func (m *MockConnectionTracer) ECNStateUpdated(arg0 logging.ECNState, arg1 logging.ECNStateTrigger)
- 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) NegotiatedVersion(arg0 protocol.Version, arg1, arg2 []protocol.Version)
- func (m *MockConnectionTracer) ReceivedLongHeaderPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, ...)
- func (m *MockConnectionTracer) ReceivedRetry(arg0 *wire.Header)
- func (m *MockConnectionTracer) ReceivedShortHeaderPacket(arg0 *logging.ShortHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, ...)
- func (m *MockConnectionTracer) ReceivedTransportParameters(arg0 *wire.TransportParameters)
- func (m *MockConnectionTracer) ReceivedVersionNegotiationPacket(arg0, arg1 protocol.ArbitraryLenConnectionID, arg2 []protocol.Version)
- func (m *MockConnectionTracer) RestoredTransportParameters(arg0 *wire.TransportParameters)
- func (m *MockConnectionTracer) SentLongHeaderPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, ...)
- func (m *MockConnectionTracer) SentShortHeaderPacket(arg0 *logging.ShortHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, ...)
- 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, arg3 protocol.ConnectionID)
- 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 MockConnectionTracerAcknowledgedPacketCall
- func (c *MockConnectionTracerAcknowledgedPacketCall) Do(f func(protocol.EncryptionLevel, protocol.PacketNumber)) *MockConnectionTracerAcknowledgedPacketCall
- func (c *MockConnectionTracerAcknowledgedPacketCall) DoAndReturn(f func(protocol.EncryptionLevel, protocol.PacketNumber)) *MockConnectionTracerAcknowledgedPacketCall
- func (c *MockConnectionTracerAcknowledgedPacketCall) Return() *MockConnectionTracerAcknowledgedPacketCall
- type MockConnectionTracerBufferedPacketCall
- func (c *MockConnectionTracerBufferedPacketCall) Do(f func(logging.PacketType, protocol.ByteCount)) *MockConnectionTracerBufferedPacketCall
- func (c *MockConnectionTracerBufferedPacketCall) DoAndReturn(f func(logging.PacketType, protocol.ByteCount)) *MockConnectionTracerBufferedPacketCall
- func (c *MockConnectionTracerBufferedPacketCall) Return() *MockConnectionTracerBufferedPacketCall
- type MockConnectionTracerChoseALPNCall
- type MockConnectionTracerCloseCall
- type MockConnectionTracerClosedConnectionCall
- func (c *MockConnectionTracerClosedConnectionCall) Do(f func(error)) *MockConnectionTracerClosedConnectionCall
- func (c *MockConnectionTracerClosedConnectionCall) DoAndReturn(f func(error)) *MockConnectionTracerClosedConnectionCall
- func (c *MockConnectionTracerClosedConnectionCall) Return() *MockConnectionTracerClosedConnectionCall
- type MockConnectionTracerDebugCall
- type MockConnectionTracerDroppedEncryptionLevelCall
- func (c *MockConnectionTracerDroppedEncryptionLevelCall) Do(f func(protocol.EncryptionLevel)) *MockConnectionTracerDroppedEncryptionLevelCall
- func (c *MockConnectionTracerDroppedEncryptionLevelCall) DoAndReturn(f func(protocol.EncryptionLevel)) *MockConnectionTracerDroppedEncryptionLevelCall
- func (c *MockConnectionTracerDroppedEncryptionLevelCall) Return() *MockConnectionTracerDroppedEncryptionLevelCall
- type MockConnectionTracerDroppedKeyCall
- func (c *MockConnectionTracerDroppedKeyCall) Do(f func(protocol.KeyPhase)) *MockConnectionTracerDroppedKeyCall
- func (c *MockConnectionTracerDroppedKeyCall) DoAndReturn(f func(protocol.KeyPhase)) *MockConnectionTracerDroppedKeyCall
- func (c *MockConnectionTracerDroppedKeyCall) Return() *MockConnectionTracerDroppedKeyCall
- type MockConnectionTracerDroppedPacketCall
- func (c *MockConnectionTracerDroppedPacketCall) Do(f func(logging.PacketType, protocol.PacketNumber, protocol.ByteCount, ...)) *MockConnectionTracerDroppedPacketCall
- func (c *MockConnectionTracerDroppedPacketCall) DoAndReturn(f func(logging.PacketType, protocol.PacketNumber, protocol.ByteCount, ...)) *MockConnectionTracerDroppedPacketCall
- func (c *MockConnectionTracerDroppedPacketCall) Return() *MockConnectionTracerDroppedPacketCall
- type MockConnectionTracerECNStateUpdatedCall
- func (c *MockConnectionTracerECNStateUpdatedCall) Do(f func(logging.ECNState, logging.ECNStateTrigger)) *MockConnectionTracerECNStateUpdatedCall
- func (c *MockConnectionTracerECNStateUpdatedCall) DoAndReturn(f func(logging.ECNState, logging.ECNStateTrigger)) *MockConnectionTracerECNStateUpdatedCall
- func (c *MockConnectionTracerECNStateUpdatedCall) Return() *MockConnectionTracerECNStateUpdatedCall
- type MockConnectionTracerLossTimerCanceledCall
- func (c *MockConnectionTracerLossTimerCanceledCall) Do(f func()) *MockConnectionTracerLossTimerCanceledCall
- func (c *MockConnectionTracerLossTimerCanceledCall) DoAndReturn(f func()) *MockConnectionTracerLossTimerCanceledCall
- func (c *MockConnectionTracerLossTimerCanceledCall) Return() *MockConnectionTracerLossTimerCanceledCall
- type MockConnectionTracerLossTimerExpiredCall
- func (c *MockConnectionTracerLossTimerExpiredCall) Do(f func(logging.TimerType, protocol.EncryptionLevel)) *MockConnectionTracerLossTimerExpiredCall
- func (c *MockConnectionTracerLossTimerExpiredCall) DoAndReturn(f func(logging.TimerType, protocol.EncryptionLevel)) *MockConnectionTracerLossTimerExpiredCall
- func (c *MockConnectionTracerLossTimerExpiredCall) Return() *MockConnectionTracerLossTimerExpiredCall
- type MockConnectionTracerLostPacketCall
- type MockConnectionTracerMockRecorder
- func (mr *MockConnectionTracerMockRecorder) AcknowledgedPacket(arg0, arg1 any) *MockConnectionTracerAcknowledgedPacketCall
- func (mr *MockConnectionTracerMockRecorder) BufferedPacket(arg0, arg1 any) *MockConnectionTracerBufferedPacketCall
- func (mr *MockConnectionTracerMockRecorder) ChoseALPN(arg0 any) *MockConnectionTracerChoseALPNCall
- func (mr *MockConnectionTracerMockRecorder) Close() *MockConnectionTracerCloseCall
- func (mr *MockConnectionTracerMockRecorder) ClosedConnection(arg0 any) *MockConnectionTracerClosedConnectionCall
- func (mr *MockConnectionTracerMockRecorder) Debug(arg0, arg1 any) *MockConnectionTracerDebugCall
- func (mr *MockConnectionTracerMockRecorder) DroppedEncryptionLevel(arg0 any) *MockConnectionTracerDroppedEncryptionLevelCall
- func (mr *MockConnectionTracerMockRecorder) DroppedKey(arg0 any) *MockConnectionTracerDroppedKeyCall
- func (mr *MockConnectionTracerMockRecorder) DroppedPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerDroppedPacketCall
- func (mr *MockConnectionTracerMockRecorder) ECNStateUpdated(arg0, arg1 any) *MockConnectionTracerECNStateUpdatedCall
- func (mr *MockConnectionTracerMockRecorder) LossTimerCanceled() *MockConnectionTracerLossTimerCanceledCall
- func (mr *MockConnectionTracerMockRecorder) LossTimerExpired(arg0, arg1 any) *MockConnectionTracerLossTimerExpiredCall
- func (mr *MockConnectionTracerMockRecorder) LostPacket(arg0, arg1, arg2 any) *MockConnectionTracerLostPacketCall
- func (mr *MockConnectionTracerMockRecorder) NegotiatedVersion(arg0, arg1, arg2 any) *MockConnectionTracerNegotiatedVersionCall
- func (mr *MockConnectionTracerMockRecorder) ReceivedLongHeaderPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerReceivedLongHeaderPacketCall
- func (mr *MockConnectionTracerMockRecorder) ReceivedRetry(arg0 any) *MockConnectionTracerReceivedRetryCall
- func (mr *MockConnectionTracerMockRecorder) ReceivedShortHeaderPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerReceivedShortHeaderPacketCall
- func (mr *MockConnectionTracerMockRecorder) ReceivedTransportParameters(arg0 any) *MockConnectionTracerReceivedTransportParametersCall
- func (mr *MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket(arg0, arg1, arg2 any) *MockConnectionTracerReceivedVersionNegotiationPacketCall
- func (mr *MockConnectionTracerMockRecorder) RestoredTransportParameters(arg0 any) *MockConnectionTracerRestoredTransportParametersCall
- func (mr *MockConnectionTracerMockRecorder) SentLongHeaderPacket(arg0, arg1, arg2, arg3, arg4 any) *MockConnectionTracerSentLongHeaderPacketCall
- func (mr *MockConnectionTracerMockRecorder) SentShortHeaderPacket(arg0, arg1, arg2, arg3, arg4 any) *MockConnectionTracerSentShortHeaderPacketCall
- func (mr *MockConnectionTracerMockRecorder) SentTransportParameters(arg0 any) *MockConnectionTracerSentTransportParametersCall
- func (mr *MockConnectionTracerMockRecorder) SetLossTimer(arg0, arg1, arg2 any) *MockConnectionTracerSetLossTimerCall
- func (mr *MockConnectionTracerMockRecorder) StartedConnection(arg0, arg1, arg2, arg3 any) *MockConnectionTracerStartedConnectionCall
- func (mr *MockConnectionTracerMockRecorder) UpdatedCongestionState(arg0 any) *MockConnectionTracerUpdatedCongestionStateCall
- func (mr *MockConnectionTracerMockRecorder) UpdatedKey(arg0, arg1 any) *MockConnectionTracerUpdatedKeyCall
- func (mr *MockConnectionTracerMockRecorder) UpdatedKeyFromTLS(arg0, arg1 any) *MockConnectionTracerUpdatedKeyFromTLSCall
- func (mr *MockConnectionTracerMockRecorder) UpdatedMetrics(arg0, arg1, arg2, arg3 any) *MockConnectionTracerUpdatedMetricsCall
- func (mr *MockConnectionTracerMockRecorder) UpdatedPTOCount(arg0 any) *MockConnectionTracerUpdatedPTOCountCall
- type MockConnectionTracerNegotiatedVersionCall
- func (c *MockConnectionTracerNegotiatedVersionCall) Do(f func(protocol.Version, []protocol.Version, []protocol.Version)) *MockConnectionTracerNegotiatedVersionCall
- func (c *MockConnectionTracerNegotiatedVersionCall) DoAndReturn(f func(protocol.Version, []protocol.Version, []protocol.Version)) *MockConnectionTracerNegotiatedVersionCall
- func (c *MockConnectionTracerNegotiatedVersionCall) Return() *MockConnectionTracerNegotiatedVersionCall
- type MockConnectionTracerReceivedLongHeaderPacketCall
- func (c *MockConnectionTracerReceivedLongHeaderPacketCall) Do(...) *MockConnectionTracerReceivedLongHeaderPacketCall
- func (c *MockConnectionTracerReceivedLongHeaderPacketCall) DoAndReturn(...) *MockConnectionTracerReceivedLongHeaderPacketCall
- func (c *MockConnectionTracerReceivedLongHeaderPacketCall) Return() *MockConnectionTracerReceivedLongHeaderPacketCall
- type MockConnectionTracerReceivedRetryCall
- func (c *MockConnectionTracerReceivedRetryCall) Do(f func(*wire.Header)) *MockConnectionTracerReceivedRetryCall
- func (c *MockConnectionTracerReceivedRetryCall) DoAndReturn(f func(*wire.Header)) *MockConnectionTracerReceivedRetryCall
- func (c *MockConnectionTracerReceivedRetryCall) Return() *MockConnectionTracerReceivedRetryCall
- type MockConnectionTracerReceivedShortHeaderPacketCall
- func (c *MockConnectionTracerReceivedShortHeaderPacketCall) Do(...) *MockConnectionTracerReceivedShortHeaderPacketCall
- func (c *MockConnectionTracerReceivedShortHeaderPacketCall) DoAndReturn(...) *MockConnectionTracerReceivedShortHeaderPacketCall
- func (c *MockConnectionTracerReceivedShortHeaderPacketCall) Return() *MockConnectionTracerReceivedShortHeaderPacketCall
- type MockConnectionTracerReceivedTransportParametersCall
- func (c *MockConnectionTracerReceivedTransportParametersCall) Do(f func(*wire.TransportParameters)) *MockConnectionTracerReceivedTransportParametersCall
- func (c *MockConnectionTracerReceivedTransportParametersCall) DoAndReturn(f func(*wire.TransportParameters)) *MockConnectionTracerReceivedTransportParametersCall
- func (c *MockConnectionTracerReceivedTransportParametersCall) Return() *MockConnectionTracerReceivedTransportParametersCall
- type MockConnectionTracerReceivedVersionNegotiationPacketCall
- func (c *MockConnectionTracerReceivedVersionNegotiationPacketCall) Do(...) *MockConnectionTracerReceivedVersionNegotiationPacketCall
- func (c *MockConnectionTracerReceivedVersionNegotiationPacketCall) DoAndReturn(...) *MockConnectionTracerReceivedVersionNegotiationPacketCall
- func (c *MockConnectionTracerReceivedVersionNegotiationPacketCall) Return() *MockConnectionTracerReceivedVersionNegotiationPacketCall
- type MockConnectionTracerRestoredTransportParametersCall
- func (c *MockConnectionTracerRestoredTransportParametersCall) Do(f func(*wire.TransportParameters)) *MockConnectionTracerRestoredTransportParametersCall
- func (c *MockConnectionTracerRestoredTransportParametersCall) DoAndReturn(f func(*wire.TransportParameters)) *MockConnectionTracerRestoredTransportParametersCall
- func (c *MockConnectionTracerRestoredTransportParametersCall) Return() *MockConnectionTracerRestoredTransportParametersCall
- type MockConnectionTracerSentLongHeaderPacketCall
- func (c *MockConnectionTracerSentLongHeaderPacketCall) Do(...) *MockConnectionTracerSentLongHeaderPacketCall
- func (c *MockConnectionTracerSentLongHeaderPacketCall) DoAndReturn(...) *MockConnectionTracerSentLongHeaderPacketCall
- func (c *MockConnectionTracerSentLongHeaderPacketCall) Return() *MockConnectionTracerSentLongHeaderPacketCall
- type MockConnectionTracerSentShortHeaderPacketCall
- func (c *MockConnectionTracerSentShortHeaderPacketCall) Do(...) *MockConnectionTracerSentShortHeaderPacketCall
- func (c *MockConnectionTracerSentShortHeaderPacketCall) DoAndReturn(...) *MockConnectionTracerSentShortHeaderPacketCall
- func (c *MockConnectionTracerSentShortHeaderPacketCall) Return() *MockConnectionTracerSentShortHeaderPacketCall
- type MockConnectionTracerSentTransportParametersCall
- func (c *MockConnectionTracerSentTransportParametersCall) Do(f func(*wire.TransportParameters)) *MockConnectionTracerSentTransportParametersCall
- func (c *MockConnectionTracerSentTransportParametersCall) DoAndReturn(f func(*wire.TransportParameters)) *MockConnectionTracerSentTransportParametersCall
- func (c *MockConnectionTracerSentTransportParametersCall) Return() *MockConnectionTracerSentTransportParametersCall
- type MockConnectionTracerSetLossTimerCall
- func (c *MockConnectionTracerSetLossTimerCall) Do(f func(logging.TimerType, protocol.EncryptionLevel, time.Time)) *MockConnectionTracerSetLossTimerCall
- func (c *MockConnectionTracerSetLossTimerCall) DoAndReturn(f func(logging.TimerType, protocol.EncryptionLevel, time.Time)) *MockConnectionTracerSetLossTimerCall
- func (c *MockConnectionTracerSetLossTimerCall) Return() *MockConnectionTracerSetLossTimerCall
- type MockConnectionTracerStartedConnectionCall
- func (c *MockConnectionTracerStartedConnectionCall) Do(f func(net.Addr, net.Addr, protocol.ConnectionID, protocol.ConnectionID)) *MockConnectionTracerStartedConnectionCall
- func (c *MockConnectionTracerStartedConnectionCall) DoAndReturn(f func(net.Addr, net.Addr, protocol.ConnectionID, protocol.ConnectionID)) *MockConnectionTracerStartedConnectionCall
- func (c *MockConnectionTracerStartedConnectionCall) Return() *MockConnectionTracerStartedConnectionCall
- type MockConnectionTracerUpdatedCongestionStateCall
- func (c *MockConnectionTracerUpdatedCongestionStateCall) Do(f func(logging.CongestionState)) *MockConnectionTracerUpdatedCongestionStateCall
- func (c *MockConnectionTracerUpdatedCongestionStateCall) DoAndReturn(f func(logging.CongestionState)) *MockConnectionTracerUpdatedCongestionStateCall
- func (c *MockConnectionTracerUpdatedCongestionStateCall) Return() *MockConnectionTracerUpdatedCongestionStateCall
- type MockConnectionTracerUpdatedKeyCall
- func (c *MockConnectionTracerUpdatedKeyCall) Do(f func(protocol.KeyPhase, bool)) *MockConnectionTracerUpdatedKeyCall
- func (c *MockConnectionTracerUpdatedKeyCall) DoAndReturn(f func(protocol.KeyPhase, bool)) *MockConnectionTracerUpdatedKeyCall
- func (c *MockConnectionTracerUpdatedKeyCall) Return() *MockConnectionTracerUpdatedKeyCall
- type MockConnectionTracerUpdatedKeyFromTLSCall
- func (c *MockConnectionTracerUpdatedKeyFromTLSCall) Do(f func(protocol.EncryptionLevel, protocol.Perspective)) *MockConnectionTracerUpdatedKeyFromTLSCall
- func (c *MockConnectionTracerUpdatedKeyFromTLSCall) DoAndReturn(f func(protocol.EncryptionLevel, protocol.Perspective)) *MockConnectionTracerUpdatedKeyFromTLSCall
- func (c *MockConnectionTracerUpdatedKeyFromTLSCall) Return() *MockConnectionTracerUpdatedKeyFromTLSCall
- type MockConnectionTracerUpdatedMetricsCall
- func (c *MockConnectionTracerUpdatedMetricsCall) Do(f func(*utils.RTTStats, protocol.ByteCount, protocol.ByteCount, int)) *MockConnectionTracerUpdatedMetricsCall
- func (c *MockConnectionTracerUpdatedMetricsCall) DoAndReturn(f func(*utils.RTTStats, protocol.ByteCount, protocol.ByteCount, int)) *MockConnectionTracerUpdatedMetricsCall
- func (c *MockConnectionTracerUpdatedMetricsCall) Return() *MockConnectionTracerUpdatedMetricsCall
- type MockConnectionTracerUpdatedPTOCountCall
- func (c *MockConnectionTracerUpdatedPTOCountCall) Do(f func(uint32)) *MockConnectionTracerUpdatedPTOCountCall
- func (c *MockConnectionTracerUpdatedPTOCountCall) DoAndReturn(f func(uint32)) *MockConnectionTracerUpdatedPTOCountCall
- func (c *MockConnectionTracerUpdatedPTOCountCall) Return() *MockConnectionTracerUpdatedPTOCountCall
- type MockTracer
- func (m *MockTracer) Close()
- func (m *MockTracer) Debug(arg0, arg1 string)
- func (m *MockTracer) DroppedPacket(arg0 net.Addr, arg1 logging.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) SentVersionNegotiationPacket(arg0 net.Addr, arg1, arg2 protocol.ArbitraryLenConnectionID, ...)
- type MockTracerCloseCall
- type MockTracerDebugCall
- type MockTracerDroppedPacketCall
- type MockTracerMockRecorder
- func (mr *MockTracerMockRecorder) Close() *MockTracerCloseCall
- func (mr *MockTracerMockRecorder) Debug(arg0, arg1 any) *MockTracerDebugCall
- func (mr *MockTracerMockRecorder) DroppedPacket(arg0, arg1, arg2, arg3 any) *MockTracerDroppedPacketCall
- func (mr *MockTracerMockRecorder) SentPacket(arg0, arg1, arg2, arg3 any) *MockTracerSentPacketCall
- func (mr *MockTracerMockRecorder) SentVersionNegotiationPacket(arg0, arg1, arg2, arg3 any) *MockTracerSentVersionNegotiationPacketCall
- type MockTracerSentPacketCall
- func (c *MockTracerSentPacketCall) Do(f func(net.Addr, *wire.Header, protocol.ByteCount, []logging.Frame)) *MockTracerSentPacketCall
- func (c *MockTracerSentPacketCall) DoAndReturn(f func(net.Addr, *wire.Header, protocol.ByteCount, []logging.Frame)) *MockTracerSentPacketCall
- func (c *MockTracerSentPacketCall) Return() *MockTracerSentPacketCall
- type MockTracerSentVersionNegotiationPacketCall
- func (c *MockTracerSentVersionNegotiationPacketCall) Do(...) *MockTracerSentVersionNegotiationPacketCall
- func (c *MockTracerSentVersionNegotiationPacketCall) DoAndReturn(...) *MockTracerSentVersionNegotiationPacketCall
- func (c *MockTracerSentVersionNegotiationPacketCall) Return() *MockTracerSentVersionNegotiationPacketCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnectionTracer ¶
type MockConnectionTracer struct {
// contains filtered or unexported fields
}
MockConnectionTracer is a mock of ConnectionTracer interface.
func NewMockConnectionTracer ¶
func NewMockConnectionTracer(ctrl *gomock.Controller) *MockConnectionTracer
NewMockConnectionTracer creates a new mock instance.
func (*MockConnectionTracer) AcknowledgedPacket ¶
func (m *MockConnectionTracer) AcknowledgedPacket(arg0 protocol.EncryptionLevel, arg1 protocol.PacketNumber)
AcknowledgedPacket mocks base method.
func (*MockConnectionTracer) BufferedPacket ¶
func (m *MockConnectionTracer) BufferedPacket(arg0 logging.PacketType, arg1 protocol.ByteCount)
BufferedPacket mocks base method.
func (*MockConnectionTracer) ChoseALPN ¶ added in v0.41.0
func (m *MockConnectionTracer) ChoseALPN(arg0 string)
ChoseALPN mocks base method.
func (*MockConnectionTracer) Close ¶
func (m *MockConnectionTracer) Close()
Close mocks base method.
func (*MockConnectionTracer) ClosedConnection ¶
func (m *MockConnectionTracer) ClosedConnection(arg0 error)
ClosedConnection mocks base method.
func (*MockConnectionTracer) Debug ¶
func (m *MockConnectionTracer) Debug(arg0, arg1 string)
Debug mocks base method.
func (*MockConnectionTracer) DroppedEncryptionLevel ¶
func (m *MockConnectionTracer) DroppedEncryptionLevel(arg0 protocol.EncryptionLevel)
DroppedEncryptionLevel mocks base method.
func (*MockConnectionTracer) DroppedKey ¶
func (m *MockConnectionTracer) DroppedKey(arg0 protocol.KeyPhase)
DroppedKey mocks base method.
func (*MockConnectionTracer) DroppedPacket ¶
func (m *MockConnectionTracer) DroppedPacket(arg0 logging.PacketType, arg1 protocol.PacketNumber, arg2 protocol.ByteCount, arg3 logging.PacketDropReason)
DroppedPacket mocks base method.
func (*MockConnectionTracer) ECNStateUpdated ¶
func (m *MockConnectionTracer) ECNStateUpdated(arg0 logging.ECNState, arg1 logging.ECNStateTrigger)
ECNStateUpdated mocks base method.
func (*MockConnectionTracer) EXPECT ¶
func (m *MockConnectionTracer) EXPECT() *MockConnectionTracerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnectionTracer) LossTimerCanceled ¶
func (m *MockConnectionTracer) LossTimerCanceled()
LossTimerCanceled mocks base method.
func (*MockConnectionTracer) LossTimerExpired ¶
func (m *MockConnectionTracer) LossTimerExpired(arg0 logging.TimerType, arg1 protocol.EncryptionLevel)
LossTimerExpired mocks base method.
func (*MockConnectionTracer) LostPacket ¶
func (m *MockConnectionTracer) LostPacket(arg0 protocol.EncryptionLevel, arg1 protocol.PacketNumber, arg2 logging.PacketLossReason)
LostPacket mocks base method.
func (*MockConnectionTracer) NegotiatedVersion ¶
func (m *MockConnectionTracer) NegotiatedVersion(arg0 protocol.Version, arg1, arg2 []protocol.Version)
NegotiatedVersion mocks base method.
func (*MockConnectionTracer) ReceivedLongHeaderPacket ¶
func (m *MockConnectionTracer) ReceivedLongHeaderPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, arg3 []logging.Frame)
ReceivedLongHeaderPacket mocks base method.
func (*MockConnectionTracer) ReceivedRetry ¶
func (m *MockConnectionTracer) ReceivedRetry(arg0 *wire.Header)
ReceivedRetry mocks base method.
func (*MockConnectionTracer) ReceivedShortHeaderPacket ¶
func (m *MockConnectionTracer) ReceivedShortHeaderPacket(arg0 *logging.ShortHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, arg3 []logging.Frame)
ReceivedShortHeaderPacket mocks base method.
func (*MockConnectionTracer) ReceivedTransportParameters ¶
func (m *MockConnectionTracer) ReceivedTransportParameters(arg0 *wire.TransportParameters)
ReceivedTransportParameters mocks base method.
func (*MockConnectionTracer) ReceivedVersionNegotiationPacket ¶
func (m *MockConnectionTracer) ReceivedVersionNegotiationPacket(arg0, arg1 protocol.ArbitraryLenConnectionID, arg2 []protocol.Version)
ReceivedVersionNegotiationPacket mocks base method.
func (*MockConnectionTracer) RestoredTransportParameters ¶
func (m *MockConnectionTracer) RestoredTransportParameters(arg0 *wire.TransportParameters)
RestoredTransportParameters mocks base method.
func (*MockConnectionTracer) SentLongHeaderPacket ¶
func (m *MockConnectionTracer) SentLongHeaderPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, arg3 *wire.AckFrame, arg4 []logging.Frame)
SentLongHeaderPacket mocks base method.
func (*MockConnectionTracer) SentShortHeaderPacket ¶
func (m *MockConnectionTracer) SentShortHeaderPacket(arg0 *logging.ShortHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, arg3 *wire.AckFrame, arg4 []logging.Frame)
SentShortHeaderPacket mocks base method.
func (*MockConnectionTracer) SentTransportParameters ¶
func (m *MockConnectionTracer) SentTransportParameters(arg0 *wire.TransportParameters)
SentTransportParameters mocks base method.
func (*MockConnectionTracer) SetLossTimer ¶
func (m *MockConnectionTracer) SetLossTimer(arg0 logging.TimerType, arg1 protocol.EncryptionLevel, arg2 time.Time)
SetLossTimer mocks base method.
func (*MockConnectionTracer) StartedConnection ¶
func (m *MockConnectionTracer) StartedConnection(arg0, arg1 net.Addr, arg2, arg3 protocol.ConnectionID)
StartedConnection mocks base method.
func (*MockConnectionTracer) UpdatedCongestionState ¶
func (m *MockConnectionTracer) UpdatedCongestionState(arg0 logging.CongestionState)
UpdatedCongestionState mocks base method.
func (*MockConnectionTracer) UpdatedKey ¶
func (m *MockConnectionTracer) UpdatedKey(arg0 protocol.KeyPhase, arg1 bool)
UpdatedKey mocks base method.
func (*MockConnectionTracer) UpdatedKeyFromTLS ¶
func (m *MockConnectionTracer) UpdatedKeyFromTLS(arg0 protocol.EncryptionLevel, arg1 protocol.Perspective)
UpdatedKeyFromTLS mocks base method.
func (*MockConnectionTracer) UpdatedMetrics ¶
func (m *MockConnectionTracer) UpdatedMetrics(arg0 *utils.RTTStats, arg1, arg2 protocol.ByteCount, arg3 int)
UpdatedMetrics mocks base method.
func (*MockConnectionTracer) UpdatedPTOCount ¶
func (m *MockConnectionTracer) UpdatedPTOCount(arg0 uint32)
UpdatedPTOCount mocks base method.
type MockConnectionTracerAcknowledgedPacketCall ¶ added in v0.42.0
MockConnectionTracerAcknowledgedPacketCall wrap *gomock.Call
func (*MockConnectionTracerAcknowledgedPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerAcknowledgedPacketCall) Do(f func(protocol.EncryptionLevel, protocol.PacketNumber)) *MockConnectionTracerAcknowledgedPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerAcknowledgedPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerAcknowledgedPacketCall) DoAndReturn(f func(protocol.EncryptionLevel, protocol.PacketNumber)) *MockConnectionTracerAcknowledgedPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerAcknowledgedPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerAcknowledgedPacketCall) Return() *MockConnectionTracerAcknowledgedPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerBufferedPacketCall ¶ added in v0.42.0
MockConnectionTracerBufferedPacketCall wrap *gomock.Call
func (*MockConnectionTracerBufferedPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerBufferedPacketCall) Do(f func(logging.PacketType, protocol.ByteCount)) *MockConnectionTracerBufferedPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerBufferedPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerBufferedPacketCall) DoAndReturn(f func(logging.PacketType, protocol.ByteCount)) *MockConnectionTracerBufferedPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerBufferedPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerBufferedPacketCall) Return() *MockConnectionTracerBufferedPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerChoseALPNCall ¶ added in v0.42.0
MockConnectionTracerChoseALPNCall wrap *gomock.Call
func (*MockConnectionTracerChoseALPNCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerChoseALPNCall) Do(f func(string)) *MockConnectionTracerChoseALPNCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerChoseALPNCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerChoseALPNCall) DoAndReturn(f func(string)) *MockConnectionTracerChoseALPNCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerChoseALPNCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerChoseALPNCall) Return() *MockConnectionTracerChoseALPNCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerCloseCall ¶ added in v0.42.0
MockConnectionTracerCloseCall wrap *gomock.Call
func (*MockConnectionTracerCloseCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerCloseCall) Do(f func()) *MockConnectionTracerCloseCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerCloseCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerCloseCall) DoAndReturn(f func()) *MockConnectionTracerCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerCloseCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerCloseCall) Return() *MockConnectionTracerCloseCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerClosedConnectionCall ¶ added in v0.42.0
MockConnectionTracerClosedConnectionCall wrap *gomock.Call
func (*MockConnectionTracerClosedConnectionCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerClosedConnectionCall) Do(f func(error)) *MockConnectionTracerClosedConnectionCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerClosedConnectionCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerClosedConnectionCall) DoAndReturn(f func(error)) *MockConnectionTracerClosedConnectionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerClosedConnectionCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerClosedConnectionCall) Return() *MockConnectionTracerClosedConnectionCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerDebugCall ¶ added in v0.42.0
MockConnectionTracerDebugCall wrap *gomock.Call
func (*MockConnectionTracerDebugCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerDebugCall) Do(f func(string, string)) *MockConnectionTracerDebugCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerDebugCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerDebugCall) DoAndReturn(f func(string, string)) *MockConnectionTracerDebugCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerDebugCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerDebugCall) Return() *MockConnectionTracerDebugCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerDroppedEncryptionLevelCall ¶ added in v0.42.0
MockConnectionTracerDroppedEncryptionLevelCall wrap *gomock.Call
func (*MockConnectionTracerDroppedEncryptionLevelCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedEncryptionLevelCall) Do(f func(protocol.EncryptionLevel)) *MockConnectionTracerDroppedEncryptionLevelCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerDroppedEncryptionLevelCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedEncryptionLevelCall) DoAndReturn(f func(protocol.EncryptionLevel)) *MockConnectionTracerDroppedEncryptionLevelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerDroppedEncryptionLevelCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedEncryptionLevelCall) Return() *MockConnectionTracerDroppedEncryptionLevelCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerDroppedKeyCall ¶ added in v0.42.0
MockConnectionTracerDroppedKeyCall wrap *gomock.Call
func (*MockConnectionTracerDroppedKeyCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedKeyCall) Do(f func(protocol.KeyPhase)) *MockConnectionTracerDroppedKeyCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerDroppedKeyCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedKeyCall) DoAndReturn(f func(protocol.KeyPhase)) *MockConnectionTracerDroppedKeyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerDroppedKeyCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedKeyCall) Return() *MockConnectionTracerDroppedKeyCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerDroppedPacketCall ¶ added in v0.42.0
MockConnectionTracerDroppedPacketCall wrap *gomock.Call
func (*MockConnectionTracerDroppedPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedPacketCall) Do(f func(logging.PacketType, protocol.PacketNumber, protocol.ByteCount, logging.PacketDropReason)) *MockConnectionTracerDroppedPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerDroppedPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedPacketCall) DoAndReturn(f func(logging.PacketType, protocol.PacketNumber, protocol.ByteCount, logging.PacketDropReason)) *MockConnectionTracerDroppedPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerDroppedPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerDroppedPacketCall) Return() *MockConnectionTracerDroppedPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerECNStateUpdatedCall ¶ added in v0.42.0
MockConnectionTracerECNStateUpdatedCall wrap *gomock.Call
func (*MockConnectionTracerECNStateUpdatedCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerECNStateUpdatedCall) Do(f func(logging.ECNState, logging.ECNStateTrigger)) *MockConnectionTracerECNStateUpdatedCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerECNStateUpdatedCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerECNStateUpdatedCall) DoAndReturn(f func(logging.ECNState, logging.ECNStateTrigger)) *MockConnectionTracerECNStateUpdatedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerECNStateUpdatedCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerECNStateUpdatedCall) Return() *MockConnectionTracerECNStateUpdatedCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerLossTimerCanceledCall ¶ added in v0.42.0
MockConnectionTracerLossTimerCanceledCall wrap *gomock.Call
func (*MockConnectionTracerLossTimerCanceledCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerLossTimerCanceledCall) Do(f func()) *MockConnectionTracerLossTimerCanceledCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerLossTimerCanceledCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerLossTimerCanceledCall) DoAndReturn(f func()) *MockConnectionTracerLossTimerCanceledCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerLossTimerCanceledCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerLossTimerCanceledCall) Return() *MockConnectionTracerLossTimerCanceledCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerLossTimerExpiredCall ¶ added in v0.42.0
MockConnectionTracerLossTimerExpiredCall wrap *gomock.Call
func (*MockConnectionTracerLossTimerExpiredCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerLossTimerExpiredCall) Do(f func(logging.TimerType, protocol.EncryptionLevel)) *MockConnectionTracerLossTimerExpiredCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerLossTimerExpiredCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerLossTimerExpiredCall) DoAndReturn(f func(logging.TimerType, protocol.EncryptionLevel)) *MockConnectionTracerLossTimerExpiredCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerLossTimerExpiredCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerLossTimerExpiredCall) Return() *MockConnectionTracerLossTimerExpiredCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerLostPacketCall ¶ added in v0.42.0
MockConnectionTracerLostPacketCall wrap *gomock.Call
func (*MockConnectionTracerLostPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerLostPacketCall) Do(f func(protocol.EncryptionLevel, protocol.PacketNumber, logging.PacketLossReason)) *MockConnectionTracerLostPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerLostPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerLostPacketCall) DoAndReturn(f func(protocol.EncryptionLevel, protocol.PacketNumber, logging.PacketLossReason)) *MockConnectionTracerLostPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerLostPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerLostPacketCall) Return() *MockConnectionTracerLostPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerMockRecorder ¶
type MockConnectionTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionTracerMockRecorder is the mock recorder for MockConnectionTracer.
func (*MockConnectionTracerMockRecorder) AcknowledgedPacket ¶
func (mr *MockConnectionTracerMockRecorder) AcknowledgedPacket(arg0, arg1 any) *MockConnectionTracerAcknowledgedPacketCall
AcknowledgedPacket indicates an expected call of AcknowledgedPacket.
func (*MockConnectionTracerMockRecorder) BufferedPacket ¶
func (mr *MockConnectionTracerMockRecorder) BufferedPacket(arg0, arg1 any) *MockConnectionTracerBufferedPacketCall
BufferedPacket indicates an expected call of BufferedPacket.
func (*MockConnectionTracerMockRecorder) ChoseALPN ¶ added in v0.41.0
func (mr *MockConnectionTracerMockRecorder) ChoseALPN(arg0 any) *MockConnectionTracerChoseALPNCall
ChoseALPN indicates an expected call of ChoseALPN.
func (*MockConnectionTracerMockRecorder) Close ¶
func (mr *MockConnectionTracerMockRecorder) Close() *MockConnectionTracerCloseCall
Close indicates an expected call of Close.
func (*MockConnectionTracerMockRecorder) ClosedConnection ¶
func (mr *MockConnectionTracerMockRecorder) ClosedConnection(arg0 any) *MockConnectionTracerClosedConnectionCall
ClosedConnection indicates an expected call of ClosedConnection.
func (*MockConnectionTracerMockRecorder) Debug ¶
func (mr *MockConnectionTracerMockRecorder) Debug(arg0, arg1 any) *MockConnectionTracerDebugCall
Debug indicates an expected call of Debug.
func (*MockConnectionTracerMockRecorder) DroppedEncryptionLevel ¶
func (mr *MockConnectionTracerMockRecorder) DroppedEncryptionLevel(arg0 any) *MockConnectionTracerDroppedEncryptionLevelCall
DroppedEncryptionLevel indicates an expected call of DroppedEncryptionLevel.
func (*MockConnectionTracerMockRecorder) DroppedKey ¶
func (mr *MockConnectionTracerMockRecorder) DroppedKey(arg0 any) *MockConnectionTracerDroppedKeyCall
DroppedKey indicates an expected call of DroppedKey.
func (*MockConnectionTracerMockRecorder) DroppedPacket ¶
func (mr *MockConnectionTracerMockRecorder) DroppedPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerDroppedPacketCall
DroppedPacket indicates an expected call of DroppedPacket.
func (*MockConnectionTracerMockRecorder) ECNStateUpdated ¶
func (mr *MockConnectionTracerMockRecorder) ECNStateUpdated(arg0, arg1 any) *MockConnectionTracerECNStateUpdatedCall
ECNStateUpdated indicates an expected call of ECNStateUpdated.
func (*MockConnectionTracerMockRecorder) LossTimerCanceled ¶
func (mr *MockConnectionTracerMockRecorder) LossTimerCanceled() *MockConnectionTracerLossTimerCanceledCall
LossTimerCanceled indicates an expected call of LossTimerCanceled.
func (*MockConnectionTracerMockRecorder) LossTimerExpired ¶
func (mr *MockConnectionTracerMockRecorder) LossTimerExpired(arg0, arg1 any) *MockConnectionTracerLossTimerExpiredCall
LossTimerExpired indicates an expected call of LossTimerExpired.
func (*MockConnectionTracerMockRecorder) LostPacket ¶
func (mr *MockConnectionTracerMockRecorder) LostPacket(arg0, arg1, arg2 any) *MockConnectionTracerLostPacketCall
LostPacket indicates an expected call of LostPacket.
func (*MockConnectionTracerMockRecorder) NegotiatedVersion ¶
func (mr *MockConnectionTracerMockRecorder) NegotiatedVersion(arg0, arg1, arg2 any) *MockConnectionTracerNegotiatedVersionCall
NegotiatedVersion indicates an expected call of NegotiatedVersion.
func (*MockConnectionTracerMockRecorder) ReceivedLongHeaderPacket ¶
func (mr *MockConnectionTracerMockRecorder) ReceivedLongHeaderPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerReceivedLongHeaderPacketCall
ReceivedLongHeaderPacket indicates an expected call of ReceivedLongHeaderPacket.
func (*MockConnectionTracerMockRecorder) ReceivedRetry ¶
func (mr *MockConnectionTracerMockRecorder) ReceivedRetry(arg0 any) *MockConnectionTracerReceivedRetryCall
ReceivedRetry indicates an expected call of ReceivedRetry.
func (*MockConnectionTracerMockRecorder) ReceivedShortHeaderPacket ¶
func (mr *MockConnectionTracerMockRecorder) ReceivedShortHeaderPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerReceivedShortHeaderPacketCall
ReceivedShortHeaderPacket indicates an expected call of ReceivedShortHeaderPacket.
func (*MockConnectionTracerMockRecorder) ReceivedTransportParameters ¶
func (mr *MockConnectionTracerMockRecorder) ReceivedTransportParameters(arg0 any) *MockConnectionTracerReceivedTransportParametersCall
ReceivedTransportParameters indicates an expected call of ReceivedTransportParameters.
func (*MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket ¶
func (mr *MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket(arg0, arg1, arg2 any) *MockConnectionTracerReceivedVersionNegotiationPacketCall
ReceivedVersionNegotiationPacket indicates an expected call of ReceivedVersionNegotiationPacket.
func (*MockConnectionTracerMockRecorder) RestoredTransportParameters ¶
func (mr *MockConnectionTracerMockRecorder) RestoredTransportParameters(arg0 any) *MockConnectionTracerRestoredTransportParametersCall
RestoredTransportParameters indicates an expected call of RestoredTransportParameters.
func (*MockConnectionTracerMockRecorder) SentLongHeaderPacket ¶
func (mr *MockConnectionTracerMockRecorder) SentLongHeaderPacket(arg0, arg1, arg2, arg3, arg4 any) *MockConnectionTracerSentLongHeaderPacketCall
SentLongHeaderPacket indicates an expected call of SentLongHeaderPacket.
func (*MockConnectionTracerMockRecorder) SentShortHeaderPacket ¶
func (mr *MockConnectionTracerMockRecorder) SentShortHeaderPacket(arg0, arg1, arg2, arg3, arg4 any) *MockConnectionTracerSentShortHeaderPacketCall
SentShortHeaderPacket indicates an expected call of SentShortHeaderPacket.
func (*MockConnectionTracerMockRecorder) SentTransportParameters ¶
func (mr *MockConnectionTracerMockRecorder) SentTransportParameters(arg0 any) *MockConnectionTracerSentTransportParametersCall
SentTransportParameters indicates an expected call of SentTransportParameters.
func (*MockConnectionTracerMockRecorder) SetLossTimer ¶
func (mr *MockConnectionTracerMockRecorder) SetLossTimer(arg0, arg1, arg2 any) *MockConnectionTracerSetLossTimerCall
SetLossTimer indicates an expected call of SetLossTimer.
func (*MockConnectionTracerMockRecorder) StartedConnection ¶
func (mr *MockConnectionTracerMockRecorder) StartedConnection(arg0, arg1, arg2, arg3 any) *MockConnectionTracerStartedConnectionCall
StartedConnection indicates an expected call of StartedConnection.
func (*MockConnectionTracerMockRecorder) UpdatedCongestionState ¶
func (mr *MockConnectionTracerMockRecorder) UpdatedCongestionState(arg0 any) *MockConnectionTracerUpdatedCongestionStateCall
UpdatedCongestionState indicates an expected call of UpdatedCongestionState.
func (*MockConnectionTracerMockRecorder) UpdatedKey ¶
func (mr *MockConnectionTracerMockRecorder) UpdatedKey(arg0, arg1 any) *MockConnectionTracerUpdatedKeyCall
UpdatedKey indicates an expected call of UpdatedKey.
func (*MockConnectionTracerMockRecorder) UpdatedKeyFromTLS ¶
func (mr *MockConnectionTracerMockRecorder) UpdatedKeyFromTLS(arg0, arg1 any) *MockConnectionTracerUpdatedKeyFromTLSCall
UpdatedKeyFromTLS indicates an expected call of UpdatedKeyFromTLS.
func (*MockConnectionTracerMockRecorder) UpdatedMetrics ¶
func (mr *MockConnectionTracerMockRecorder) UpdatedMetrics(arg0, arg1, arg2, arg3 any) *MockConnectionTracerUpdatedMetricsCall
UpdatedMetrics indicates an expected call of UpdatedMetrics.
func (*MockConnectionTracerMockRecorder) UpdatedPTOCount ¶
func (mr *MockConnectionTracerMockRecorder) UpdatedPTOCount(arg0 any) *MockConnectionTracerUpdatedPTOCountCall
UpdatedPTOCount indicates an expected call of UpdatedPTOCount.
type MockConnectionTracerNegotiatedVersionCall ¶ added in v0.42.0
MockConnectionTracerNegotiatedVersionCall wrap *gomock.Call
func (*MockConnectionTracerNegotiatedVersionCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerNegotiatedVersionCall) Do(f func(protocol.Version, []protocol.Version, []protocol.Version)) *MockConnectionTracerNegotiatedVersionCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerNegotiatedVersionCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerNegotiatedVersionCall) DoAndReturn(f func(protocol.Version, []protocol.Version, []protocol.Version)) *MockConnectionTracerNegotiatedVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerNegotiatedVersionCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerNegotiatedVersionCall) Return() *MockConnectionTracerNegotiatedVersionCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerReceivedLongHeaderPacketCall ¶ added in v0.42.0
MockConnectionTracerReceivedLongHeaderPacketCall wrap *gomock.Call
func (*MockConnectionTracerReceivedLongHeaderPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedLongHeaderPacketCall) Do(f func(*wire.ExtendedHeader, protocol.ByteCount, protocol.ECN, []logging.Frame)) *MockConnectionTracerReceivedLongHeaderPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerReceivedLongHeaderPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedLongHeaderPacketCall) DoAndReturn(f func(*wire.ExtendedHeader, protocol.ByteCount, protocol.ECN, []logging.Frame)) *MockConnectionTracerReceivedLongHeaderPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerReceivedLongHeaderPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedLongHeaderPacketCall) Return() *MockConnectionTracerReceivedLongHeaderPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerReceivedRetryCall ¶ added in v0.42.0
MockConnectionTracerReceivedRetryCall wrap *gomock.Call
func (*MockConnectionTracerReceivedRetryCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedRetryCall) Do(f func(*wire.Header)) *MockConnectionTracerReceivedRetryCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerReceivedRetryCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedRetryCall) DoAndReturn(f func(*wire.Header)) *MockConnectionTracerReceivedRetryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerReceivedRetryCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedRetryCall) Return() *MockConnectionTracerReceivedRetryCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerReceivedShortHeaderPacketCall ¶ added in v0.42.0
MockConnectionTracerReceivedShortHeaderPacketCall wrap *gomock.Call
func (*MockConnectionTracerReceivedShortHeaderPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedShortHeaderPacketCall) Do(f func(*logging.ShortHeader, protocol.ByteCount, protocol.ECN, []logging.Frame)) *MockConnectionTracerReceivedShortHeaderPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerReceivedShortHeaderPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedShortHeaderPacketCall) DoAndReturn(f func(*logging.ShortHeader, protocol.ByteCount, protocol.ECN, []logging.Frame)) *MockConnectionTracerReceivedShortHeaderPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerReceivedShortHeaderPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedShortHeaderPacketCall) Return() *MockConnectionTracerReceivedShortHeaderPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerReceivedTransportParametersCall ¶ added in v0.42.0
MockConnectionTracerReceivedTransportParametersCall wrap *gomock.Call
func (*MockConnectionTracerReceivedTransportParametersCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedTransportParametersCall) Do(f func(*wire.TransportParameters)) *MockConnectionTracerReceivedTransportParametersCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerReceivedTransportParametersCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedTransportParametersCall) DoAndReturn(f func(*wire.TransportParameters)) *MockConnectionTracerReceivedTransportParametersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerReceivedTransportParametersCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedTransportParametersCall) Return() *MockConnectionTracerReceivedTransportParametersCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerReceivedVersionNegotiationPacketCall ¶ added in v0.42.0
MockConnectionTracerReceivedVersionNegotiationPacketCall wrap *gomock.Call
func (*MockConnectionTracerReceivedVersionNegotiationPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedVersionNegotiationPacketCall) Do(f func(protocol.ArbitraryLenConnectionID, protocol.ArbitraryLenConnectionID, []protocol.Version)) *MockConnectionTracerReceivedVersionNegotiationPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerReceivedVersionNegotiationPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedVersionNegotiationPacketCall) DoAndReturn(f func(protocol.ArbitraryLenConnectionID, protocol.ArbitraryLenConnectionID, []protocol.Version)) *MockConnectionTracerReceivedVersionNegotiationPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerReceivedVersionNegotiationPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerReceivedVersionNegotiationPacketCall) Return() *MockConnectionTracerReceivedVersionNegotiationPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerRestoredTransportParametersCall ¶ added in v0.42.0
MockConnectionTracerRestoredTransportParametersCall wrap *gomock.Call
func (*MockConnectionTracerRestoredTransportParametersCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerRestoredTransportParametersCall) Do(f func(*wire.TransportParameters)) *MockConnectionTracerRestoredTransportParametersCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerRestoredTransportParametersCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerRestoredTransportParametersCall) DoAndReturn(f func(*wire.TransportParameters)) *MockConnectionTracerRestoredTransportParametersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerRestoredTransportParametersCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerRestoredTransportParametersCall) Return() *MockConnectionTracerRestoredTransportParametersCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerSentLongHeaderPacketCall ¶ added in v0.42.0
MockConnectionTracerSentLongHeaderPacketCall wrap *gomock.Call
func (*MockConnectionTracerSentLongHeaderPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerSentLongHeaderPacketCall) Do(f func(*wire.ExtendedHeader, protocol.ByteCount, protocol.ECN, *wire.AckFrame, []logging.Frame)) *MockConnectionTracerSentLongHeaderPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerSentLongHeaderPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerSentLongHeaderPacketCall) DoAndReturn(f func(*wire.ExtendedHeader, protocol.ByteCount, protocol.ECN, *wire.AckFrame, []logging.Frame)) *MockConnectionTracerSentLongHeaderPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerSentLongHeaderPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerSentLongHeaderPacketCall) Return() *MockConnectionTracerSentLongHeaderPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerSentShortHeaderPacketCall ¶ added in v0.42.0
MockConnectionTracerSentShortHeaderPacketCall wrap *gomock.Call
func (*MockConnectionTracerSentShortHeaderPacketCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerSentShortHeaderPacketCall) Do(f func(*logging.ShortHeader, protocol.ByteCount, protocol.ECN, *wire.AckFrame, []logging.Frame)) *MockConnectionTracerSentShortHeaderPacketCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerSentShortHeaderPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerSentShortHeaderPacketCall) DoAndReturn(f func(*logging.ShortHeader, protocol.ByteCount, protocol.ECN, *wire.AckFrame, []logging.Frame)) *MockConnectionTracerSentShortHeaderPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerSentShortHeaderPacketCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerSentShortHeaderPacketCall) Return() *MockConnectionTracerSentShortHeaderPacketCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerSentTransportParametersCall ¶ added in v0.42.0
MockConnectionTracerSentTransportParametersCall wrap *gomock.Call
func (*MockConnectionTracerSentTransportParametersCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerSentTransportParametersCall) Do(f func(*wire.TransportParameters)) *MockConnectionTracerSentTransportParametersCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerSentTransportParametersCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerSentTransportParametersCall) DoAndReturn(f func(*wire.TransportParameters)) *MockConnectionTracerSentTransportParametersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerSentTransportParametersCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerSentTransportParametersCall) Return() *MockConnectionTracerSentTransportParametersCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerSetLossTimerCall ¶ added in v0.42.0
MockConnectionTracerSetLossTimerCall wrap *gomock.Call
func (*MockConnectionTracerSetLossTimerCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerSetLossTimerCall) Do(f func(logging.TimerType, protocol.EncryptionLevel, time.Time)) *MockConnectionTracerSetLossTimerCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerSetLossTimerCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerSetLossTimerCall) DoAndReturn(f func(logging.TimerType, protocol.EncryptionLevel, time.Time)) *MockConnectionTracerSetLossTimerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerSetLossTimerCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerSetLossTimerCall) Return() *MockConnectionTracerSetLossTimerCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerStartedConnectionCall ¶ added in v0.42.0
MockConnectionTracerStartedConnectionCall wrap *gomock.Call
func (*MockConnectionTracerStartedConnectionCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerStartedConnectionCall) Do(f func(net.Addr, net.Addr, protocol.ConnectionID, protocol.ConnectionID)) *MockConnectionTracerStartedConnectionCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerStartedConnectionCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerStartedConnectionCall) DoAndReturn(f func(net.Addr, net.Addr, protocol.ConnectionID, protocol.ConnectionID)) *MockConnectionTracerStartedConnectionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerStartedConnectionCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerStartedConnectionCall) Return() *MockConnectionTracerStartedConnectionCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerUpdatedCongestionStateCall ¶ added in v0.42.0
MockConnectionTracerUpdatedCongestionStateCall wrap *gomock.Call
func (*MockConnectionTracerUpdatedCongestionStateCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedCongestionStateCall) Do(f func(logging.CongestionState)) *MockConnectionTracerUpdatedCongestionStateCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerUpdatedCongestionStateCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedCongestionStateCall) DoAndReturn(f func(logging.CongestionState)) *MockConnectionTracerUpdatedCongestionStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerUpdatedCongestionStateCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedCongestionStateCall) Return() *MockConnectionTracerUpdatedCongestionStateCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerUpdatedKeyCall ¶ added in v0.42.0
MockConnectionTracerUpdatedKeyCall wrap *gomock.Call
func (*MockConnectionTracerUpdatedKeyCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedKeyCall) Do(f func(protocol.KeyPhase, bool)) *MockConnectionTracerUpdatedKeyCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerUpdatedKeyCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedKeyCall) DoAndReturn(f func(protocol.KeyPhase, bool)) *MockConnectionTracerUpdatedKeyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerUpdatedKeyCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedKeyCall) Return() *MockConnectionTracerUpdatedKeyCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerUpdatedKeyFromTLSCall ¶ added in v0.42.0
MockConnectionTracerUpdatedKeyFromTLSCall wrap *gomock.Call
func (*MockConnectionTracerUpdatedKeyFromTLSCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedKeyFromTLSCall) Do(f func(protocol.EncryptionLevel, protocol.Perspective)) *MockConnectionTracerUpdatedKeyFromTLSCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerUpdatedKeyFromTLSCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedKeyFromTLSCall) DoAndReturn(f func(protocol.EncryptionLevel, protocol.Perspective)) *MockConnectionTracerUpdatedKeyFromTLSCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerUpdatedKeyFromTLSCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedKeyFromTLSCall) Return() *MockConnectionTracerUpdatedKeyFromTLSCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerUpdatedMetricsCall ¶ added in v0.42.0
MockConnectionTracerUpdatedMetricsCall wrap *gomock.Call
func (*MockConnectionTracerUpdatedMetricsCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedMetricsCall) Do(f func(*utils.RTTStats, protocol.ByteCount, protocol.ByteCount, int)) *MockConnectionTracerUpdatedMetricsCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerUpdatedMetricsCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedMetricsCall) DoAndReturn(f func(*utils.RTTStats, protocol.ByteCount, protocol.ByteCount, int)) *MockConnectionTracerUpdatedMetricsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerUpdatedMetricsCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedMetricsCall) Return() *MockConnectionTracerUpdatedMetricsCall
Return rewrite *gomock.Call.Return
type MockConnectionTracerUpdatedPTOCountCall ¶ added in v0.42.0
MockConnectionTracerUpdatedPTOCountCall wrap *gomock.Call
func (*MockConnectionTracerUpdatedPTOCountCall) Do ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedPTOCountCall) Do(f func(uint32)) *MockConnectionTracerUpdatedPTOCountCall
Do rewrite *gomock.Call.Do
func (*MockConnectionTracerUpdatedPTOCountCall) DoAndReturn ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedPTOCountCall) DoAndReturn(f func(uint32)) *MockConnectionTracerUpdatedPTOCountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConnectionTracerUpdatedPTOCountCall) Return ¶ added in v0.42.0
func (c *MockConnectionTracerUpdatedPTOCountCall) Return() *MockConnectionTracerUpdatedPTOCountCall
Return rewrite *gomock.Call.Return
type MockTracer ¶
type MockTracer struct {
// contains filtered or unexported fields
}
MockTracer is a mock of Tracer interface.
func NewMockTracer ¶
func NewMockTracer(ctrl *gomock.Controller) *MockTracer
NewMockTracer creates a new mock instance.
func (*MockTracer) Debug ¶ added in v0.42.0
func (m *MockTracer) Debug(arg0, arg1 string)
Debug mocks base method.
func (*MockTracer) DroppedPacket ¶
func (m *MockTracer) DroppedPacket(arg0 net.Addr, arg1 logging.PacketType, arg2 protocol.ByteCount, arg3 logging.PacketDropReason)
DroppedPacket mocks base method.
func (*MockTracer) EXPECT ¶
func (m *MockTracer) EXPECT() *MockTracerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTracer) SentPacket ¶
func (m *MockTracer) SentPacket(arg0 net.Addr, arg1 *wire.Header, arg2 protocol.ByteCount, arg3 []logging.Frame)
SentPacket mocks base method.
func (*MockTracer) SentVersionNegotiationPacket ¶
func (m *MockTracer) SentVersionNegotiationPacket(arg0 net.Addr, arg1, arg2 protocol.ArbitraryLenConnectionID, arg3 []protocol.Version)
SentVersionNegotiationPacket mocks base method.
type MockTracerCloseCall ¶ added in v0.42.0
MockTracerCloseCall wrap *gomock.Call
func (*MockTracerCloseCall) Do ¶ added in v0.42.0
func (c *MockTracerCloseCall) Do(f func()) *MockTracerCloseCall
Do rewrite *gomock.Call.Do
func (*MockTracerCloseCall) DoAndReturn ¶ added in v0.42.0
func (c *MockTracerCloseCall) DoAndReturn(f func()) *MockTracerCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTracerCloseCall) Return ¶ added in v0.42.0
func (c *MockTracerCloseCall) Return() *MockTracerCloseCall
Return rewrite *gomock.Call.Return
type MockTracerDebugCall ¶ added in v0.42.0
MockTracerDebugCall wrap *gomock.Call
func (*MockTracerDebugCall) Do ¶ added in v0.42.0
func (c *MockTracerDebugCall) Do(f func(string, string)) *MockTracerDebugCall
Do rewrite *gomock.Call.Do
func (*MockTracerDebugCall) DoAndReturn ¶ added in v0.42.0
func (c *MockTracerDebugCall) DoAndReturn(f func(string, string)) *MockTracerDebugCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTracerDebugCall) Return ¶ added in v0.42.0
func (c *MockTracerDebugCall) Return() *MockTracerDebugCall
Return rewrite *gomock.Call.Return
type MockTracerDroppedPacketCall ¶ added in v0.42.0
MockTracerDroppedPacketCall wrap *gomock.Call
func (*MockTracerDroppedPacketCall) Do ¶ added in v0.42.0
func (c *MockTracerDroppedPacketCall) Do(f func(net.Addr, logging.PacketType, protocol.ByteCount, logging.PacketDropReason)) *MockTracerDroppedPacketCall
Do rewrite *gomock.Call.Do
func (*MockTracerDroppedPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockTracerDroppedPacketCall) DoAndReturn(f func(net.Addr, logging.PacketType, protocol.ByteCount, logging.PacketDropReason)) *MockTracerDroppedPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTracerDroppedPacketCall) Return ¶ added in v0.42.0
func (c *MockTracerDroppedPacketCall) Return() *MockTracerDroppedPacketCall
Return rewrite *gomock.Call.Return
type MockTracerMockRecorder ¶
type MockTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockTracerMockRecorder is the mock recorder for MockTracer.
func (*MockTracerMockRecorder) Close ¶ added in v0.42.0
func (mr *MockTracerMockRecorder) Close() *MockTracerCloseCall
Close indicates an expected call of Close.
func (*MockTracerMockRecorder) Debug ¶ added in v0.42.0
func (mr *MockTracerMockRecorder) Debug(arg0, arg1 any) *MockTracerDebugCall
Debug indicates an expected call of Debug.
func (*MockTracerMockRecorder) DroppedPacket ¶
func (mr *MockTracerMockRecorder) DroppedPacket(arg0, arg1, arg2, arg3 any) *MockTracerDroppedPacketCall
DroppedPacket indicates an expected call of DroppedPacket.
func (*MockTracerMockRecorder) SentPacket ¶
func (mr *MockTracerMockRecorder) SentPacket(arg0, arg1, arg2, arg3 any) *MockTracerSentPacketCall
SentPacket indicates an expected call of SentPacket.
func (*MockTracerMockRecorder) SentVersionNegotiationPacket ¶
func (mr *MockTracerMockRecorder) SentVersionNegotiationPacket(arg0, arg1, arg2, arg3 any) *MockTracerSentVersionNegotiationPacketCall
SentVersionNegotiationPacket indicates an expected call of SentVersionNegotiationPacket.
type MockTracerSentPacketCall ¶ added in v0.42.0
MockTracerSentPacketCall wrap *gomock.Call
func (*MockTracerSentPacketCall) Do ¶ added in v0.42.0
func (c *MockTracerSentPacketCall) Do(f func(net.Addr, *wire.Header, protocol.ByteCount, []logging.Frame)) *MockTracerSentPacketCall
Do rewrite *gomock.Call.Do
func (*MockTracerSentPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockTracerSentPacketCall) DoAndReturn(f func(net.Addr, *wire.Header, protocol.ByteCount, []logging.Frame)) *MockTracerSentPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTracerSentPacketCall) Return ¶ added in v0.42.0
func (c *MockTracerSentPacketCall) Return() *MockTracerSentPacketCall
Return rewrite *gomock.Call.Return
type MockTracerSentVersionNegotiationPacketCall ¶ added in v0.42.0
MockTracerSentVersionNegotiationPacketCall wrap *gomock.Call
func (*MockTracerSentVersionNegotiationPacketCall) Do ¶ added in v0.42.0
func (c *MockTracerSentVersionNegotiationPacketCall) Do(f func(net.Addr, protocol.ArbitraryLenConnectionID, protocol.ArbitraryLenConnectionID, []protocol.Version)) *MockTracerSentVersionNegotiationPacketCall
Do rewrite *gomock.Call.Do
func (*MockTracerSentVersionNegotiationPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockTracerSentVersionNegotiationPacketCall) DoAndReturn(f func(net.Addr, protocol.ArbitraryLenConnectionID, protocol.ArbitraryLenConnectionID, []protocol.Version)) *MockTracerSentVersionNegotiationPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockTracerSentVersionNegotiationPacketCall) Return ¶ added in v0.42.0
func (c *MockTracerSentVersionNegotiationPacketCall) Return() *MockTracerSentVersionNegotiationPacketCall
Return rewrite *gomock.Call.Return