mocks

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

type EventSubscriber struct {
	mock.Mock
}

EventSubscriber is an autogenerated mock type for the EventSubscriber type

func NewEventSubscriber added in v0.12.0

func NewEventSubscriber(t mockConstructorTestingTNewEventSubscriber) *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.

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

Jump to

Keyboard shortcuts

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