mocks

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ORM

type ORM struct {
	mock.Mock
}

ORM is an autogenerated mock type for the ORM type

func (*ORM) DeleteLogAndBroadcasts

func (_m *ORM) DeleteLogAndBroadcasts(blockHash common.Hash, logIndex uint) error

DeleteLogAndBroadcasts provides a mock function with given fields: blockHash, logIndex

func (*ORM) DeleteUnconsumedBroadcastsForListener

func (_m *ORM) DeleteUnconsumedBroadcastsForListener(jobID interface{}) error

DeleteUnconsumedBroadcastsForListener provides a mock function with given fields: jobID

func (*ORM) MarkBroadcastConsumed

func (_m *ORM) MarkBroadcastConsumed(blockHash common.Hash, logIndex uint, jobID interface{}) error

MarkBroadcastConsumed provides a mock function with given fields: blockHash, logIndex, jobID

func (*ORM) UnconsumedLogsPriorToBlock

func (_m *ORM) UnconsumedLogsPriorToBlock(blockNumber uint64) ([]types.Log, error)

UnconsumedLogsPriorToBlock provides a mock function with given fields: blockNumber

func (*ORM) UpsertBroadcastForListener

func (_m *ORM) UpsertBroadcastForListener(_a0 types.Log, jobID interface{}) error

UpsertBroadcastForListener provides a mock function with given fields: _a0, jobID

func (*ORM) UpsertBroadcastsForListenerSinceBlock

func (_m *ORM) UpsertBroadcastsForListenerSinceBlock(blockNumber uint64, address common.Address, jobID interface{}) error

UpsertBroadcastsForListenerSinceBlock provides a mock function with given fields: blockNumber, address, jobID

func (*ORM) UpsertLog

func (_m *ORM) UpsertLog(_a0 types.Log) error

UpsertLog provides a mock function with given fields: _a0

func (*ORM) WasBroadcastConsumed

func (_m *ORM) WasBroadcastConsumed(blockHash common.Hash, logIndex uint, jobID interface{}) (bool, error)

WasBroadcastConsumed provides a mock function with given fields: blockHash, logIndex, jobID

Jump to

Keyboard shortcuts

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