cn

package
v1.5.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cn is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackend

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

MockBackend is a mock of Backend interface

func NewMockBackend

func NewMockBackend(ctrl *gomock.Controller) *MockBackend

NewMockBackend creates a new mock instance

func (*MockBackend) BloomStatus

func (m *MockBackend) BloomStatus() (uint64, uint64)

BloomStatus mocks base method

func (*MockBackend) ChainDB

func (m *MockBackend) ChainDB() database.DBManager

ChainDB mocks base method

func (*MockBackend) EXPECT

func (m *MockBackend) EXPECT() *MockBackendMockRecorder

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

func (*MockBackend) EventMux

func (m *MockBackend) EventMux() *event.TypeMux

EventMux mocks base method

func (*MockBackend) GetBlockReceipts

func (m *MockBackend) GetBlockReceipts(arg0 context.Context, arg1 common.Hash) types.Receipts

GetBlockReceipts mocks base method

func (*MockBackend) GetLogs

func (m *MockBackend) GetLogs(arg0 context.Context, arg1 common.Hash) ([][]*types.Log, error)

GetLogs mocks base method

func (*MockBackend) HeaderByNumber

func (m *MockBackend) HeaderByNumber(arg0 context.Context, arg1 rpc.BlockNumber) (*types.Header, error)

HeaderByNumber mocks base method

func (*MockBackend) ServiceFilter

func (m *MockBackend) ServiceFilter(arg0 context.Context, arg1 *bloombits.MatcherSession)

ServiceFilter mocks base method

func (*MockBackend) SubscribeChainEvent

func (m *MockBackend) SubscribeChainEvent(arg0 chan<- blockchain.ChainEvent) event.Subscription

SubscribeChainEvent mocks base method

func (*MockBackend) SubscribeLogsEvent

func (m *MockBackend) SubscribeLogsEvent(arg0 chan<- []*types.Log) event.Subscription

SubscribeLogsEvent mocks base method

func (*MockBackend) SubscribeNewTxsEvent

func (m *MockBackend) SubscribeNewTxsEvent(arg0 chan<- blockchain.NewTxsEvent) event.Subscription

SubscribeNewTxsEvent mocks base method

func (*MockBackend) SubscribeRemovedLogsEvent

func (m *MockBackend) SubscribeRemovedLogsEvent(arg0 chan<- blockchain.RemovedLogsEvent) event.Subscription

SubscribeRemovedLogsEvent mocks base method

type MockBackendMockRecorder

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

MockBackendMockRecorder is the mock recorder for MockBackend

func (*MockBackendMockRecorder) BloomStatus

func (mr *MockBackendMockRecorder) BloomStatus() *gomock.Call

BloomStatus indicates an expected call of BloomStatus

func (*MockBackendMockRecorder) ChainDB

func (mr *MockBackendMockRecorder) ChainDB() *gomock.Call

ChainDB indicates an expected call of ChainDB

func (*MockBackendMockRecorder) EventMux

func (mr *MockBackendMockRecorder) EventMux() *gomock.Call

EventMux indicates an expected call of EventMux

func (*MockBackendMockRecorder) GetBlockReceipts

func (mr *MockBackendMockRecorder) GetBlockReceipts(arg0, arg1 interface{}) *gomock.Call

GetBlockReceipts indicates an expected call of GetBlockReceipts

func (*MockBackendMockRecorder) GetLogs

func (mr *MockBackendMockRecorder) GetLogs(arg0, arg1 interface{}) *gomock.Call

GetLogs indicates an expected call of GetLogs

func (*MockBackendMockRecorder) HeaderByNumber

func (mr *MockBackendMockRecorder) HeaderByNumber(arg0, arg1 interface{}) *gomock.Call

HeaderByNumber indicates an expected call of HeaderByNumber

func (*MockBackendMockRecorder) ServiceFilter

func (mr *MockBackendMockRecorder) ServiceFilter(arg0, arg1 interface{}) *gomock.Call

ServiceFilter indicates an expected call of ServiceFilter

func (*MockBackendMockRecorder) SubscribeChainEvent

func (mr *MockBackendMockRecorder) SubscribeChainEvent(arg0 interface{}) *gomock.Call

SubscribeChainEvent indicates an expected call of SubscribeChainEvent

func (*MockBackendMockRecorder) SubscribeLogsEvent

func (mr *MockBackendMockRecorder) SubscribeLogsEvent(arg0 interface{}) *gomock.Call

SubscribeLogsEvent indicates an expected call of SubscribeLogsEvent

func (*MockBackendMockRecorder) SubscribeNewTxsEvent

func (mr *MockBackendMockRecorder) SubscribeNewTxsEvent(arg0 interface{}) *gomock.Call

SubscribeNewTxsEvent indicates an expected call of SubscribeNewTxsEvent

func (*MockBackendMockRecorder) SubscribeRemovedLogsEvent

func (mr *MockBackendMockRecorder) SubscribeRemovedLogsEvent(arg0 interface{}) *gomock.Call

SubscribeRemovedLogsEvent indicates an expected call of SubscribeRemovedLogsEvent

Jump to

Keyboard shortcuts

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