Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscriber ¶
Subscriber is an autogenerated mock type for the Subscriber type
func NewSubscriber ¶
func NewSubscriber(t mockConstructorTestingTNewSubscriber) *Subscriber
NewSubscriber creates a new instance of Subscriber. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Subscriber) Subscribe ¶
func (_m *Subscriber) Subscribe(ctx context.Context, height uint64) (<-chan flow.BlockEvents, <-chan error, error)
Subscribe provides a mock function with given fields: ctx, height
Click to show internal directories.
Click to hide internal directories.