Documentation ¶
Overview ¶
Package mock_apitypes is a generated GoMock package.
Index ¶
- type MockListener
- func (m *MockListener) AddResponder(arg0 apitypes.Responder) (string, error)
- func (m *MockListener) EXPECT() *MockListenerMockRecorder
- func (m *MockListener) ReceiveBlock(arg0 *block.Block) error
- func (m *MockListener) RemoveResponder(arg0 string) (bool, error)
- func (m *MockListener) Start() error
- func (m *MockListener) Stop() error
- type MockListenerMockRecorder
- func (mr *MockListenerMockRecorder) AddResponder(arg0 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) ReceiveBlock(arg0 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) RemoveResponder(arg0 interface{}) *gomock.Call
- func (mr *MockListenerMockRecorder) Start() *gomock.Call
- func (mr *MockListenerMockRecorder) Stop() *gomock.Call
- type MockResponder
- type MockResponderMockRecorder
- type MockWeb3ResponseWriter
- type MockWeb3ResponseWriterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockListener ¶ added in v1.8.1
type MockListener struct {
// contains filtered or unexported fields
}
MockListener is a mock of Listener interface.
func NewMockListener ¶ added in v1.8.1
func NewMockListener(ctrl *gomock.Controller) *MockListener
NewMockListener creates a new mock instance.
func (*MockListener) AddResponder ¶ added in v1.8.1
func (m *MockListener) AddResponder(arg0 apitypes.Responder) (string, error)
AddResponder mocks base method.
func (*MockListener) EXPECT ¶ added in v1.8.1
func (m *MockListener) EXPECT() *MockListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockListener) ReceiveBlock ¶ added in v1.8.1
func (m *MockListener) ReceiveBlock(arg0 *block.Block) error
ReceiveBlock mocks base method.
func (*MockListener) RemoveResponder ¶ added in v1.8.1
func (m *MockListener) RemoveResponder(arg0 string) (bool, error)
RemoveResponder mocks base method.
func (*MockListener) Start ¶ added in v1.8.1
func (m *MockListener) Start() error
Start mocks base method.
func (*MockListener) Stop ¶ added in v1.8.1
func (m *MockListener) Stop() error
Stop mocks base method.
type MockListenerMockRecorder ¶ added in v1.8.1
type MockListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerMockRecorder is the mock recorder for MockListener.
func (*MockListenerMockRecorder) AddResponder ¶ added in v1.8.1
func (mr *MockListenerMockRecorder) AddResponder(arg0 interface{}) *gomock.Call
AddResponder indicates an expected call of AddResponder.
func (*MockListenerMockRecorder) ReceiveBlock ¶ added in v1.8.1
func (mr *MockListenerMockRecorder) ReceiveBlock(arg0 interface{}) *gomock.Call
ReceiveBlock indicates an expected call of ReceiveBlock.
func (*MockListenerMockRecorder) RemoveResponder ¶ added in v1.8.1
func (mr *MockListenerMockRecorder) RemoveResponder(arg0 interface{}) *gomock.Call
RemoveResponder indicates an expected call of RemoveResponder.
func (*MockListenerMockRecorder) Start ¶ added in v1.8.1
func (mr *MockListenerMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockListenerMockRecorder) Stop ¶ added in v1.8.1
func (mr *MockListenerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockResponder ¶
type MockResponder struct {
// contains filtered or unexported fields
}
MockResponder is a mock of Responder interface.
func NewMockResponder ¶
func NewMockResponder(ctrl *gomock.Controller) *MockResponder
NewMockResponder creates a new mock instance.
func (*MockResponder) EXPECT ¶
func (m *MockResponder) EXPECT() *MockResponderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockResponderMockRecorder ¶
type MockResponderMockRecorder struct {
// contains filtered or unexported fields
}
MockResponderMockRecorder is the mock recorder for MockResponder.
func (*MockResponderMockRecorder) Exit ¶
func (mr *MockResponderMockRecorder) Exit() *gomock.Call
Exit indicates an expected call of Exit.
func (*MockResponderMockRecorder) Respond ¶
func (mr *MockResponderMockRecorder) Respond(arg0, arg1 interface{}) *gomock.Call
Respond indicates an expected call of Respond.
type MockWeb3ResponseWriter ¶ added in v1.8.1
type MockWeb3ResponseWriter struct {
// contains filtered or unexported fields
}
MockWeb3ResponseWriter is a mock of Web3ResponseWriter interface.
func NewMockWeb3ResponseWriter ¶ added in v1.8.1
func NewMockWeb3ResponseWriter(ctrl *gomock.Controller) *MockWeb3ResponseWriter
NewMockWeb3ResponseWriter creates a new mock instance.
func (*MockWeb3ResponseWriter) EXPECT ¶ added in v1.8.1
func (m *MockWeb3ResponseWriter) EXPECT() *MockWeb3ResponseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWeb3ResponseWriter) Write ¶ added in v1.8.1
func (m *MockWeb3ResponseWriter) Write(arg0 interface{}) (int, error)
Write mocks base method.
type MockWeb3ResponseWriterMockRecorder ¶ added in v1.8.1
type MockWeb3ResponseWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWeb3ResponseWriterMockRecorder is the mock recorder for MockWeb3ResponseWriter.
func (*MockWeb3ResponseWriterMockRecorder) Write ¶ added in v1.8.1
func (mr *MockWeb3ResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.