mock

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ledger

type Ledger struct {
	mock.Mock
}

Ledger is an autogenerated mock type for the Ledger type

func (*Ledger) Done

func (_m *Ledger) Done() <-chan struct{}

Done provides a mock function with given fields:

func (*Ledger) Get

func (_m *Ledger) Get(query *ledger.Query) ([]ledger.Value, error)

Get provides a mock function with given fields: query

func (*Ledger) InitialState

func (_m *Ledger) InitialState() ledger.State

InitialState provides a mock function with given fields:

func (*Ledger) Prove

func (_m *Ledger) Prove(query *ledger.Query) (ledger.Proof, error)

Prove provides a mock function with given fields: query

func (*Ledger) Ready

func (_m *Ledger) Ready() <-chan struct{}

Ready provides a mock function with given fields:

func (*Ledger) Set

func (_m *Ledger) Set(update *ledger.Update) (ledger.State, *ledger.TrieUpdate, error)

Set provides a mock function with given fields: update

type Reporter

type Reporter struct {
	mock.Mock
}

Reporter is an autogenerated mock type for the Reporter type

func (*Reporter) Name added in v0.23.2

func (_m *Reporter) Name() string

Name provides a mock function with given fields:

func (*Reporter) Report

func (_m *Reporter) Report(payloads []ledger.Payload) error

Report provides a mock function with given fields: payloads

Jump to

Keyboard shortcuts

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