Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSubscriber ¶ added in v0.12.0
EventSubscriber is an autogenerated mock type for the EventSubscriber type
func NewEventSubscriber ¶ added in v0.12.0
func NewEventSubscriber(t interface { mock.TestingT Cleanup(func()) }) *EventSubscriber
NewEventSubscriber creates a new instance of EventSubscriber. 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 (*EventSubscriber) Subscribe ¶ added in v0.12.0
func (_m *EventSubscriber) Subscribe(ctx context.Context, height uint64) <-chan models.BlockEvents
Subscribe provides a mock function with given fields: ctx, height
Click to show internal directories.
Click to hide internal directories.