mock

package
v0.17.5 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 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, 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) 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