drop support for gQUIC

This commit is contained in:
Marten Seemann 2018-10-24 09:34:44 +07:00
parent 8f8ed03254
commit 3266e36811
195 changed files with 2638 additions and 35430 deletions

View file

@ -1,5 +1,5 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/lucas-clemente/quic-go (interfaces: SealingManagerLegacy)
// Source: github.com/lucas-clemente/quic-go (interfaces: SealingManager)
// Package quic is a generated GoMock package.
package quic
@ -12,31 +12,31 @@ import (
protocol "github.com/lucas-clemente/quic-go/internal/protocol"
)
// MockSealingManagerLegacy is a mock of SealingManagerLegacy interface
type MockSealingManagerLegacy struct {
// MockSealingManager is a mock of SealingManager interface
type MockSealingManager struct {
ctrl *gomock.Controller
recorder *MockSealingManagerLegacyMockRecorder
recorder *MockSealingManagerMockRecorder
}
// MockSealingManagerLegacyMockRecorder is the mock recorder for MockSealingManagerLegacy
type MockSealingManagerLegacyMockRecorder struct {
mock *MockSealingManagerLegacy
// MockSealingManagerMockRecorder is the mock recorder for MockSealingManager
type MockSealingManagerMockRecorder struct {
mock *MockSealingManager
}
// NewMockSealingManagerLegacy creates a new mock instance
func NewMockSealingManagerLegacy(ctrl *gomock.Controller) *MockSealingManagerLegacy {
mock := &MockSealingManagerLegacy{ctrl: ctrl}
mock.recorder = &MockSealingManagerLegacyMockRecorder{mock}
// NewMockSealingManager creates a new mock instance
func NewMockSealingManager(ctrl *gomock.Controller) *MockSealingManager {
mock := &MockSealingManager{ctrl: ctrl}
mock.recorder = &MockSealingManagerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockSealingManagerLegacy) EXPECT() *MockSealingManagerLegacyMockRecorder {
func (m *MockSealingManager) EXPECT() *MockSealingManagerMockRecorder {
return m.recorder
}
// GetSealer mocks base method
func (m *MockSealingManagerLegacy) GetSealer() (protocol.EncryptionLevel, handshake.Sealer) {
func (m *MockSealingManager) GetSealer() (protocol.EncryptionLevel, handshake.Sealer) {
ret := m.ctrl.Call(m, "GetSealer")
ret0, _ := ret[0].(protocol.EncryptionLevel)
ret1, _ := ret[1].(handshake.Sealer)
@ -44,25 +44,12 @@ func (m *MockSealingManagerLegacy) GetSealer() (protocol.EncryptionLevel, handsh
}
// GetSealer indicates an expected call of GetSealer
func (mr *MockSealingManagerLegacyMockRecorder) GetSealer() *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSealer", reflect.TypeOf((*MockSealingManagerLegacy)(nil).GetSealer))
}
// GetSealerForCryptoStream mocks base method
func (m *MockSealingManagerLegacy) GetSealerForCryptoStream() (protocol.EncryptionLevel, handshake.Sealer) {
ret := m.ctrl.Call(m, "GetSealerForCryptoStream")
ret0, _ := ret[0].(protocol.EncryptionLevel)
ret1, _ := ret[1].(handshake.Sealer)
return ret0, ret1
}
// GetSealerForCryptoStream indicates an expected call of GetSealerForCryptoStream
func (mr *MockSealingManagerLegacyMockRecorder) GetSealerForCryptoStream() *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSealerForCryptoStream", reflect.TypeOf((*MockSealingManagerLegacy)(nil).GetSealerForCryptoStream))
func (mr *MockSealingManagerMockRecorder) GetSealer() *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSealer", reflect.TypeOf((*MockSealingManager)(nil).GetSealer))
}
// GetSealerWithEncryptionLevel mocks base method
func (m *MockSealingManagerLegacy) GetSealerWithEncryptionLevel(arg0 protocol.EncryptionLevel) (handshake.Sealer, error) {
func (m *MockSealingManager) GetSealerWithEncryptionLevel(arg0 protocol.EncryptionLevel) (handshake.Sealer, error) {
ret := m.ctrl.Call(m, "GetSealerWithEncryptionLevel", arg0)
ret0, _ := ret[0].(handshake.Sealer)
ret1, _ := ret[1].(error)
@ -70,6 +57,6 @@ func (m *MockSealingManagerLegacy) GetSealerWithEncryptionLevel(arg0 protocol.En
}
// GetSealerWithEncryptionLevel indicates an expected call of GetSealerWithEncryptionLevel
func (mr *MockSealingManagerLegacyMockRecorder) GetSealerWithEncryptionLevel(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSealerWithEncryptionLevel", reflect.TypeOf((*MockSealingManagerLegacy)(nil).GetSealerWithEncryptionLevel), arg0)
func (mr *MockSealingManagerMockRecorder) GetSealerWithEncryptionLevel(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSealerWithEncryptionLevel", reflect.TypeOf((*MockSealingManager)(nil).GetSealerWithEncryptionLevel), arg0)
}