Documentation
¶
Index ¶
- type Manager
- func (_m *Manager) CheckInFlight(listenerID *fftypes.UUID) bool
- func (_m *Manager) NewBlockHashes() chan<- *ffcapi.BlockHashEvent
- func (_m *Manager) Notify(n *confirmations.Notification) error
- func (_m *Manager) Start()
- func (_m *Manager) StartConfirmedBlockListener(ctx context.Context, id *fftypes.UUID, fromBlock string, ...) error
- func (_m *Manager) Stop()
- func (_m *Manager) StopConfirmedBlockListener(ctx context.Context, id *fftypes.UUID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶ added in v1.2.1
NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Manager) CheckInFlight ¶ added in v0.9.3
CheckInFlight provides a mock function with given fields: listenerID
func (*Manager) NewBlockHashes ¶ added in v0.9.3
func (_m *Manager) NewBlockHashes() chan<- *ffcapi.BlockHashEvent
NewBlockHashes provides a mock function with no fields
func (*Manager) Notify ¶
func (_m *Manager) Notify(n *confirmations.Notification) error
Notify provides a mock function with given fields: n
func (*Manager) StartConfirmedBlockListener ¶ added in v1.3.15
func (_m *Manager) StartConfirmedBlockListener(ctx context.Context, id *fftypes.UUID, fromBlock string, checkpoint *ffcapi.BlockListenerCheckpoint, eventStream chan<- *ffcapi.ListenerEvent) error
StartConfirmedBlockListener provides a mock function with given fields: ctx, id, fromBlock, checkpoint, eventStream
Click to show internal directories.
Click to hide internal directories.