forked from quic-go/quic-go
use a synchronous API for the crypto setup (#3939)
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
reflect "reflect"
|
||||
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
handshake "github.com/quic-go/quic-go/internal/handshake"
|
||||
protocol "github.com/quic-go/quic-go/internal/protocol"
|
||||
)
|
||||
|
||||
@@ -47,3 +48,17 @@ func (mr *MockCryptoDataHandlerMockRecorder) HandleMessage(arg0, arg1 interface{
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleMessage", reflect.TypeOf((*MockCryptoDataHandler)(nil).HandleMessage), arg0, arg1)
|
||||
}
|
||||
|
||||
// NextEvent mocks base method.
|
||||
func (m *MockCryptoDataHandler) NextEvent() handshake.Event {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "NextEvent")
|
||||
ret0, _ := ret[0].(handshake.Event)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// NextEvent indicates an expected call of NextEvent.
|
||||
func (mr *MockCryptoDataHandlerMockRecorder) NextEvent() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NextEvent", reflect.TypeOf((*MockCryptoDataHandler)(nil).NextEvent))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user