mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
use tls-tris instead of mint
This commit is contained in:
parent
5102294991
commit
82508f1562
144 changed files with 20124 additions and 10157 deletions
|
@ -35,29 +35,52 @@ func (m *MockCryptoStream) EXPECT() *MockCryptoStreamMockRecorder {
|
|||
return m.recorder
|
||||
}
|
||||
|
||||
// Read mocks base method
|
||||
func (m *MockCryptoStream) Read(arg0 []byte) (int, error) {
|
||||
ret := m.ctrl.Call(m, "Read", arg0)
|
||||
ret0, _ := ret[0].(int)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// Read indicates an expected call of Read
|
||||
func (mr *MockCryptoStreamMockRecorder) Read(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Read", reflect.TypeOf((*MockCryptoStream)(nil).Read), arg0)
|
||||
}
|
||||
|
||||
// StreamID mocks base method
|
||||
func (m *MockCryptoStream) StreamID() protocol.StreamID {
|
||||
ret := m.ctrl.Call(m, "StreamID")
|
||||
ret0, _ := ret[0].(protocol.StreamID)
|
||||
// GetCryptoData mocks base method
|
||||
func (m *MockCryptoStream) GetCryptoData() []byte {
|
||||
ret := m.ctrl.Call(m, "GetCryptoData")
|
||||
ret0, _ := ret[0].([]byte)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// StreamID indicates an expected call of StreamID
|
||||
func (mr *MockCryptoStreamMockRecorder) StreamID() *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamID", reflect.TypeOf((*MockCryptoStream)(nil).StreamID))
|
||||
// GetCryptoData indicates an expected call of GetCryptoData
|
||||
func (mr *MockCryptoStreamMockRecorder) GetCryptoData() *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCryptoData", reflect.TypeOf((*MockCryptoStream)(nil).GetCryptoData))
|
||||
}
|
||||
|
||||
// HandleCryptoFrame mocks base method
|
||||
func (m *MockCryptoStream) HandleCryptoFrame(arg0 *wire.CryptoFrame) error {
|
||||
ret := m.ctrl.Call(m, "HandleCryptoFrame", arg0)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HandleCryptoFrame indicates an expected call of HandleCryptoFrame
|
||||
func (mr *MockCryptoStreamMockRecorder) HandleCryptoFrame(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleCryptoFrame", reflect.TypeOf((*MockCryptoStream)(nil).HandleCryptoFrame), arg0)
|
||||
}
|
||||
|
||||
// HasData mocks base method
|
||||
func (m *MockCryptoStream) HasData() bool {
|
||||
ret := m.ctrl.Call(m, "HasData")
|
||||
ret0, _ := ret[0].(bool)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HasData indicates an expected call of HasData
|
||||
func (mr *MockCryptoStreamMockRecorder) HasData() *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasData", reflect.TypeOf((*MockCryptoStream)(nil).HasData))
|
||||
}
|
||||
|
||||
// PopCryptoFrame mocks base method
|
||||
func (m *MockCryptoStream) PopCryptoFrame(arg0 protocol.ByteCount) *wire.CryptoFrame {
|
||||
ret := m.ctrl.Call(m, "PopCryptoFrame", arg0)
|
||||
ret0, _ := ret[0].(*wire.CryptoFrame)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// PopCryptoFrame indicates an expected call of PopCryptoFrame
|
||||
func (mr *MockCryptoStreamMockRecorder) PopCryptoFrame(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PopCryptoFrame", reflect.TypeOf((*MockCryptoStream)(nil).PopCryptoFrame), arg0)
|
||||
}
|
||||
|
||||
// Write mocks base method
|
||||
|
@ -72,82 +95,3 @@ func (m *MockCryptoStream) Write(arg0 []byte) (int, error) {
|
|||
func (mr *MockCryptoStreamMockRecorder) Write(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockCryptoStream)(nil).Write), arg0)
|
||||
}
|
||||
|
||||
// closeForShutdown mocks base method
|
||||
func (m *MockCryptoStream) closeForShutdown(arg0 error) {
|
||||
m.ctrl.Call(m, "closeForShutdown", arg0)
|
||||
}
|
||||
|
||||
// closeForShutdown indicates an expected call of closeForShutdown
|
||||
func (mr *MockCryptoStreamMockRecorder) closeForShutdown(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "closeForShutdown", reflect.TypeOf((*MockCryptoStream)(nil).closeForShutdown), arg0)
|
||||
}
|
||||
|
||||
// getWindowUpdate mocks base method
|
||||
func (m *MockCryptoStream) getWindowUpdate() protocol.ByteCount {
|
||||
ret := m.ctrl.Call(m, "getWindowUpdate")
|
||||
ret0, _ := ret[0].(protocol.ByteCount)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// getWindowUpdate indicates an expected call of getWindowUpdate
|
||||
func (mr *MockCryptoStreamMockRecorder) getWindowUpdate() *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "getWindowUpdate", reflect.TypeOf((*MockCryptoStream)(nil).getWindowUpdate))
|
||||
}
|
||||
|
||||
// handleMaxStreamDataFrame mocks base method
|
||||
func (m *MockCryptoStream) handleMaxStreamDataFrame(arg0 *wire.MaxStreamDataFrame) {
|
||||
m.ctrl.Call(m, "handleMaxStreamDataFrame", arg0)
|
||||
}
|
||||
|
||||
// handleMaxStreamDataFrame indicates an expected call of handleMaxStreamDataFrame
|
||||
func (mr *MockCryptoStreamMockRecorder) handleMaxStreamDataFrame(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "handleMaxStreamDataFrame", reflect.TypeOf((*MockCryptoStream)(nil).handleMaxStreamDataFrame), arg0)
|
||||
}
|
||||
|
||||
// handleStreamFrame mocks base method
|
||||
func (m *MockCryptoStream) handleStreamFrame(arg0 *wire.StreamFrame) error {
|
||||
ret := m.ctrl.Call(m, "handleStreamFrame", arg0)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// handleStreamFrame indicates an expected call of handleStreamFrame
|
||||
func (mr *MockCryptoStreamMockRecorder) handleStreamFrame(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "handleStreamFrame", reflect.TypeOf((*MockCryptoStream)(nil).handleStreamFrame), arg0)
|
||||
}
|
||||
|
||||
// hasData mocks base method
|
||||
func (m *MockCryptoStream) hasData() bool {
|
||||
ret := m.ctrl.Call(m, "hasData")
|
||||
ret0, _ := ret[0].(bool)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// hasData indicates an expected call of hasData
|
||||
func (mr *MockCryptoStreamMockRecorder) hasData() *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "hasData", reflect.TypeOf((*MockCryptoStream)(nil).hasData))
|
||||
}
|
||||
|
||||
// popStreamFrame mocks base method
|
||||
func (m *MockCryptoStream) popStreamFrame(arg0 protocol.ByteCount) (*wire.StreamFrame, bool) {
|
||||
ret := m.ctrl.Call(m, "popStreamFrame", arg0)
|
||||
ret0, _ := ret[0].(*wire.StreamFrame)
|
||||
ret1, _ := ret[1].(bool)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// popStreamFrame indicates an expected call of popStreamFrame
|
||||
func (mr *MockCryptoStreamMockRecorder) popStreamFrame(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "popStreamFrame", reflect.TypeOf((*MockCryptoStream)(nil).popStreamFrame), arg0)
|
||||
}
|
||||
|
||||
// setReadOffset mocks base method
|
||||
func (m *MockCryptoStream) setReadOffset(arg0 protocol.ByteCount) {
|
||||
m.ctrl.Call(m, "setReadOffset", arg0)
|
||||
}
|
||||
|
||||
// setReadOffset indicates an expected call of setReadOffset
|
||||
func (mr *MockCryptoStreamMockRecorder) setReadOffset(arg0 interface{}) *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "setReadOffset", reflect.TypeOf((*MockCryptoStream)(nil).setReadOffset), arg0)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue