mocks

package
v0.37.0-dev Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewProviderT

type NewProviderT interface {
	mock.TestingT
	Cleanup(func())
}

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func NewProvider added in v0.35.8

func NewProvider(t NewProviderT) *Provider

NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Provider) ID

func (_m *Provider) ID() string

ID provides a mock function with given fields:

func (*Provider) LightBlock

func (_m *Provider) LightBlock(ctx context.Context, height int64) (*types.LightBlock, error)

LightBlock provides a mock function with given fields: ctx, height

func (*Provider) ReportEvidence

func (_m *Provider) ReportEvidence(_a0 context.Context, _a1 types.Evidence) error

ReportEvidence provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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