Documentation ¶
Index ¶
- type Ledger
- func (_m *Ledger) Done() <-chan struct{}
- func (_m *Ledger) Get(query *ledger.Query) ([]ledger.Value, error)
- func (_m *Ledger) GetSingleValue(query *ledger.QuerySingleValue) (ledger.Value, error)
- func (_m *Ledger) HasState(state ledger.State) bool
- 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 ¶
func NewLedger(t mockConstructorTestingTNewLedger) *Ledger
NewLedger creates a new instance of Ledger. It also registers a testing 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) GetSingleValue ¶
GetSingleValue provides a mock function with given fields: query
func (*Ledger) InitialState ¶
InitialState provides a mock function with given fields:
type Migration ¶
Migration is an autogenerated mock type for the Migration type
func NewMigration ¶
func NewMigration(t mockConstructorTestingTNewMigration) *Migration
NewMigration creates a new instance of Migration. It also registers a testing 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 ¶
func NewReporter(t mockConstructorTestingTNewReporter) *Reporter
NewReporter creates a new instance of Reporter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.