Versions in this module Expand all Collapse all v0 v0.8.0-vendored Jul 30, 2018 v0.0.2 Jul 26, 2019 Changes in this version + type MockConnectionFlowController struct + func NewMockConnectionFlowController(ctrl *gomock.Controller) *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 struct + 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 MockCryptoSetup struct + func NewMockCryptoSetup(ctrl *gomock.Controller) *MockCryptoSetup + func (m *MockCryptoSetup) ChangeConnectionID(arg0 protocol.ConnectionID) error + func (m *MockCryptoSetup) Close() error + func (m *MockCryptoSetup) ConnectionState() tls.ConnectionState + func (m *MockCryptoSetup) EXPECT() *MockCryptoSetupMockRecorder + func (m *MockCryptoSetup) GetOpener(arg0 protocol.EncryptionLevel) (handshake.Opener, error) + func (m *MockCryptoSetup) GetSealer() (protocol.EncryptionLevel, handshake.Sealer) + func (m *MockCryptoSetup) GetSealerWithEncryptionLevel(arg0 protocol.EncryptionLevel) (handshake.Sealer, error) + func (m *MockCryptoSetup) HandleMessage(arg0 []byte, arg1 protocol.EncryptionLevel) bool + func (m *MockCryptoSetup) RunHandshake() error + type MockCryptoSetupMockRecorder struct + func (mr *MockCryptoSetupMockRecorder) ChangeConnectionID(arg0 interface{}) *gomock.Call + func (mr *MockCryptoSetupMockRecorder) Close() *gomock.Call + func (mr *MockCryptoSetupMockRecorder) ConnectionState() *gomock.Call + func (mr *MockCryptoSetupMockRecorder) GetOpener(arg0 interface{}) *gomock.Call + func (mr *MockCryptoSetupMockRecorder) GetSealer() *gomock.Call + func (mr *MockCryptoSetupMockRecorder) GetSealerWithEncryptionLevel(arg0 interface{}) *gomock.Call + func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCryptoSetupMockRecorder) RunHandshake() *gomock.Call + type MockOpener struct + func NewMockOpener(ctrl *gomock.Controller) *MockOpener + func (m *MockOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte) + func (m *MockOpener) EXPECT() *MockOpenerMockRecorder + func (m *MockOpener) Open(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) ([]byte, error) + type MockOpenerMockRecorder struct + func (mr *MockOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + type MockSealer struct + func NewMockSealer(ctrl *gomock.Controller) *MockSealer + func (m *MockSealer) EXPECT() *MockSealerMockRecorder + func (m *MockSealer) EncryptHeader(arg0 []byte, arg1 *byte, arg2 []byte) + func (m *MockSealer) Overhead() int + func (m *MockSealer) Seal(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) []byte + type MockSealerMockRecorder struct + func (mr *MockSealerMockRecorder) EncryptHeader(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockSealerMockRecorder) Overhead() *gomock.Call + func (mr *MockSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + type MockSendAlgorithm struct + func NewMockSendAlgorithm(ctrl *gomock.Controller) *MockSendAlgorithm + func (m *MockSendAlgorithm) EXPECT() *MockSendAlgorithmMockRecorder + func (m *MockSendAlgorithm) GetCongestionWindow() protocol.ByteCount + func (m *MockSendAlgorithm) MaybeExitSlowStart() + func (m *MockSendAlgorithm) OnConnectionMigration() + func (m *MockSendAlgorithm) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time) + func (m *MockSendAlgorithm) OnPacketLost(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount) + func (m *MockSendAlgorithm) OnPacketSent(arg0 time.Time, arg1 protocol.ByteCount, arg2 protocol.PacketNumber, ...) + func (m *MockSendAlgorithm) OnRetransmissionTimeout(arg0 bool) + func (m *MockSendAlgorithm) SetNumEmulatedConnections(arg0 int) + func (m *MockSendAlgorithm) SetSlowStartLargeReduction(arg0 bool) + func (m *MockSendAlgorithm) TimeUntilSend(arg0 protocol.ByteCount) time.Duration + type MockSendAlgorithmMockRecorder struct + func (mr *MockSendAlgorithmMockRecorder) GetCongestionWindow() *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) MaybeExitSlowStart() *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) OnConnectionMigration() *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) OnPacketLost(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) OnRetransmissionTimeout(arg0 interface{}) *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) SetNumEmulatedConnections(arg0 interface{}) *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) SetSlowStartLargeReduction(arg0 interface{}) *gomock.Call + func (mr *MockSendAlgorithmMockRecorder) TimeUntilSend(arg0 interface{}) *gomock.Call + type MockStreamFlowController struct + func NewMockStreamFlowController(ctrl *gomock.Controller) *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 struct + 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