Documentation ¶
Index ¶
- type Broadcast
- type Broadcaster
- func (_m *Broadcaster) AddDependents(n int)
- func (_m *Broadcaster) AwaitDependents() <-chan struct{}
- func (_m *Broadcaster) DependentReady()
- func (_m *Broadcaster) Register(address common.Address, listener log.Listener) bool
- func (_m *Broadcaster) Start() error
- func (_m *Broadcaster) Stop() error
- func (_m *Broadcaster) Unregister(address common.Address, listener log.Listener)
- type Listener
- type ORM
- func (_m *ORM) DeleteLogAndBroadcasts(blockHash common.Hash, logIndex uint) error
- func (_m *ORM) DeleteUnconsumedBroadcastsForListener(jobID interface{}) error
- func (_m *ORM) MarkBroadcastConsumed(blockHash common.Hash, logIndex uint, jobID interface{}) error
- func (_m *ORM) UnconsumedLogsPriorToBlock(blockNumber uint64) ([]types.Log, error)
- func (_m *ORM) UpsertBroadcastForListener(_a0 types.Log, jobID interface{}) error
- func (_m *ORM) UpsertBroadcastsForListenerSinceBlock(blockNumber uint64, address common.Address, jobID interface{}) error
- func (_m *ORM) UpsertLog(_a0 types.Log) error
- func (_m *ORM) WasBroadcastConsumed(blockHash common.Hash, logIndex uint, jobID interface{}) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broadcast ¶
Broadcast is an autogenerated mock type for the Broadcast type
func (*Broadcast) DecodedLog ¶
func (_m *Broadcast) DecodedLog() interface{}
DecodedLog provides a mock function with given fields:
func (*Broadcast) MarkConsumed ¶
MarkConsumed provides a mock function with given fields:
func (*Broadcast) SetDecodedLog ¶
func (_m *Broadcast) SetDecodedLog(_a0 interface{})
SetDecodedLog provides a mock function with given fields: _a0
func (*Broadcast) WasAlreadyConsumed ¶
WasAlreadyConsumed provides a mock function with given fields:
type Broadcaster ¶
Broadcaster is an autogenerated mock type for the Broadcaster type
func (*Broadcaster) AddDependents ¶
func (_m *Broadcaster) AddDependents(n int)
AddDependents provides a mock function with given fields: n
func (*Broadcaster) AwaitDependents ¶
func (_m *Broadcaster) AwaitDependents() <-chan struct{}
AwaitDependents provides a mock function with given fields:
func (*Broadcaster) DependentReady ¶
func (_m *Broadcaster) DependentReady()
DependentReady provides a mock function with given fields:
func (*Broadcaster) Register ¶
Register provides a mock function with given fields: address, listener
func (*Broadcaster) Start ¶
func (_m *Broadcaster) Start() error
Start provides a mock function with given fields:
func (*Broadcaster) Stop ¶
func (_m *Broadcaster) Stop() error
Stop provides a mock function with given fields:
func (*Broadcaster) Unregister ¶
func (_m *Broadcaster) Unregister(address common.Address, listener log.Listener)
Unregister provides a mock function with given fields: address, listener
type Listener ¶
Listener is an autogenerated mock type for the Listener type
func (*Listener) OnConnect ¶
func (_m *Listener) OnConnect()
OnConnect provides a mock function with given fields:
func (*Listener) OnDisconnect ¶
func (_m *Listener) OnDisconnect()
OnDisconnect provides a mock function with given fields:
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func (*ORM) DeleteLogAndBroadcasts ¶
DeleteLogAndBroadcasts provides a mock function with given fields: blockHash, logIndex
func (*ORM) DeleteUnconsumedBroadcastsForListener ¶
DeleteUnconsumedBroadcastsForListener provides a mock function with given fields: jobID
func (*ORM) MarkBroadcastConsumed ¶
MarkBroadcastConsumed provides a mock function with given fields: blockHash, logIndex, jobID
func (*ORM) UnconsumedLogsPriorToBlock ¶
UnconsumedLogsPriorToBlock provides a mock function with given fields: blockNumber
func (*ORM) UpsertBroadcastForListener ¶
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