mock_apitypes

package
v1.12.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 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 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

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

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

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.

Jump to

Keyboard shortcuts

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