mocktx

package
v0.9.19 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor added in v0.9.18

type Processor struct {
	mock.Mock
}

Processor is an autogenerated mock type for the Processor type

func NewProcessor added in v0.9.18

func NewProcessor(t mockConstructorTestingTNewProcessor) *Processor

NewProcessor creates a new instance of Processor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Processor) GetRPCClient added in v0.9.18

func (_m *Processor) GetRPCClient() client.RPCClient

GetRPCClient provides a mock function with given fields:

func (*Processor) Init added in v0.9.18

func (_m *Processor) Init(_a0 client.RPCClient)

Init provides a mock function with given fields: _a0

func (*Processor) OnMessage added in v0.9.18

func (_m *Processor) OnMessage(_a0 tx.Context)

OnMessage provides a mock function with given fields: _a0

type TxProcessor

type TxProcessor struct {
	mock.Mock
}

TxProcessor is an autogenerated mock type for the TxProcessor type

func NewTxProcessor added in v0.9.18

func NewTxProcessor(t mockConstructorTestingTNewTxProcessor) *TxProcessor

NewTxProcessor creates a new instance of TxProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TxProcessor) GetRPCClient added in v0.9.7

func (_m *TxProcessor) GetRPCClient() client.RPCClient

GetRPCClient provides a mock function with given fields:

func (*TxProcessor) Init

func (_m *TxProcessor) Init(_a0 client.RPCClient)

Init provides a mock function with given fields: _a0

func (*TxProcessor) OnMessage

func (_m *TxProcessor) OnMessage(_a0 tx.Context)

OnMessage provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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