mock_apitypes

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_apitypes is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockListener

type MockListener struct {
	// contains filtered or unexported fields
}

MockListener is a mock of Listener interface.

func NewMockListener

func NewMockListener(ctrl *gomock.Controller) *MockListener

NewMockListener creates a new mock instance.

func (*MockListener) AddResponder

func (m *MockListener) AddResponder(arg0 apitypes.Responder) (string, error)

AddResponder mocks base method.

func (*MockListener) EXPECT

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

func (*MockListener) ReceiveBlock

func (m *MockListener) ReceiveBlock(arg0 *block.Block) error

ReceiveBlock mocks base method.

func (*MockListener) RemoveResponder

func (m *MockListener) RemoveResponder(arg0 string) (bool, error)

RemoveResponder mocks base method.

func (*MockListener) Start

func (m *MockListener) Start() error

Start mocks base method.

func (*MockListener) Stop

func (m *MockListener) Stop() error

Stop mocks base method.

type MockListenerMockRecorder

type MockListenerMockRecorder struct {
	// contains filtered or unexported fields
}

MockListenerMockRecorder is the mock recorder for MockListener.

func (*MockListenerMockRecorder) AddResponder

func (mr *MockListenerMockRecorder) AddResponder(arg0 interface{}) *gomock.Call

AddResponder indicates an expected call of AddResponder.

func (*MockListenerMockRecorder) ReceiveBlock

func (mr *MockListenerMockRecorder) ReceiveBlock(arg0 interface{}) *gomock.Call

ReceiveBlock indicates an expected call of ReceiveBlock.

func (*MockListenerMockRecorder) RemoveResponder

func (mr *MockListenerMockRecorder) RemoveResponder(arg0 interface{}) *gomock.Call

RemoveResponder indicates an expected call of RemoveResponder.

func (*MockListenerMockRecorder) Start

func (mr *MockListenerMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockListenerMockRecorder) Stop

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

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

func (*MockResponder) Exit

func (m *MockResponder) Exit()

Exit mocks base method.

func (*MockResponder) Respond

func (m *MockResponder) Respond(arg0 string, arg1 *block.Block) error

Respond mocks base method.

type MockResponderMockRecorder

type MockResponderMockRecorder struct {
	// contains filtered or unexported fields
}

MockResponderMockRecorder is the mock recorder for MockResponder.

func (*MockResponderMockRecorder) Exit

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

type MockWeb3ResponseWriter struct {
	// contains filtered or unexported fields
}

MockWeb3ResponseWriter is a mock of Web3ResponseWriter interface.

func NewMockWeb3ResponseWriter

func NewMockWeb3ResponseWriter(ctrl *gomock.Controller) *MockWeb3ResponseWriter

NewMockWeb3ResponseWriter creates a new mock instance.

func (*MockWeb3ResponseWriter) EXPECT

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

func (*MockWeb3ResponseWriter) Write

func (m *MockWeb3ResponseWriter) Write(arg0 interface{}) (int, error)

Write mocks base method.

type MockWeb3ResponseWriterMockRecorder

type MockWeb3ResponseWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockWeb3ResponseWriterMockRecorder is the mock recorder for MockWeb3ResponseWriter.

func (*MockWeb3ResponseWriterMockRecorder) Write

func (mr *MockWeb3ResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

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