Documentation ¶
Index ¶
- type Ledger
- func (_m *Ledger) Done() <-chan struct{}
- func (_m *Ledger) Get(query *ledger.Query) ([]ledger.Value, error)
- func (_m *Ledger) InitialState() ledger.State
- func (_m *Ledger) Prove(query *ledger.Query) (ledger.Proof, error)
- func (_m *Ledger) Ready() <-chan struct{}
- func (_m *Ledger) Set(update *ledger.Update) (ledger.State, *ledger.TrieUpdate, error)
- type Migration
- type Reporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
Ledger is an autogenerated mock type for the Ledger type
func NewLedger ¶ added in v0.26.1
NewLedger creates a new instance of Ledger. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Ledger) Done ¶
func (_m *Ledger) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*Ledger) InitialState ¶
InitialState provides a mock function with given fields:
type Migration ¶ added in v0.26.1
Migration is an autogenerated mock type for the Migration type
func NewMigration ¶ added in v0.26.1
NewMigration creates a new instance of Migration. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
type Reporter ¶
Reporter is an autogenerated mock type for the Reporter type
func NewReporter ¶ added in v0.26.1
NewReporter creates a new instance of Reporter. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.