mockstream

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

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) Decode

func (m *MockCodec) Decode(arg0 interface{}) error

Decode mocks base method

func (*MockCodec) EXPECT

func (m *MockCodec) EXPECT() *MockCodecMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCodec) Encode

func (m *MockCodec) Encode(arg0 interface{}) error

Encode mocks base method

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockProvider) NewStream

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) Close

func (m *MockStream) Close()

Close mocks base method

func (*MockStream) Codec

func (m *MockStream) Codec() streamutil.Codec

Codec mocks base method

func (*MockStream) Conn

func (m *MockStream) Conn() go_libp2p_net.Conn

Conn mocks base method

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL