Documentation ¶
Overview ¶
Package mockstream is a generated GoMock package.
Package mockstream is a generated GoMock package.
Package mockstream is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCodec ¶
type MockCodec struct {
// contains filtered or unexported fields
}
MockCodec is a mock of Codec interface
func NewMockCodec ¶
func NewMockCodec(ctrl *gomock.Controller) *MockCodec
NewMockCodec creates a new mock instance
func (*MockCodec) EXPECT ¶
func (m *MockCodec) EXPECT() *MockCodecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCodecMockRecorder ¶
type MockCodecMockRecorder struct {
// contains filtered or unexported fields
}
MockCodecMockRecorder is the mock recorder for MockCodec
func (*MockCodecMockRecorder) Decode ¶
func (mr *MockCodecMockRecorder) Decode(arg0 interface{}) *gomock.Call
Decode indicates an expected call of Decode
func (*MockCodecMockRecorder) Encode ¶
func (mr *MockCodecMockRecorder) Encode(arg0 interface{}) *gomock.Call
Encode indicates an expected call of Encode
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProvider) NewStream ¶
func (m *MockProvider) NewStream(arg0 context.Context, arg1 go_libp2p_host.Host, arg2 ...streamutil.StreamOption) (streamutil.Stream, error)
NewStream mocks base method
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider
func (*MockProviderMockRecorder) NewStream ¶
func (mr *MockProviderMockRecorder) NewStream(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
NewStream indicates an expected call of NewStream
type MockStream ¶
type MockStream struct {
// contains filtered or unexported fields
}
MockStream is a mock of Stream interface
func NewMockStream ¶
func NewMockStream(ctrl *gomock.Controller) *MockStream
NewMockStream creates a new mock instance
func (*MockStream) EXPECT ¶
func (m *MockStream) EXPECT() *MockStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockStreamMockRecorder ¶
type MockStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamMockRecorder is the mock recorder for MockStream
func (*MockStreamMockRecorder) Close ¶
func (mr *MockStreamMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockStreamMockRecorder) Codec ¶
func (mr *MockStreamMockRecorder) Codec() *gomock.Call
Codec indicates an expected call of Codec
func (*MockStreamMockRecorder) Conn ¶
func (mr *MockStreamMockRecorder) Conn() *gomock.Call
Conn indicates an expected call of Conn