MCPcopy
hub / github.com/hyperledger/fabric / StateQueryIterator

Struct StateQueryIterator

core/scc/lscc/mock/state_query_iterator.go:10–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type StateQueryIterator struct {
11 CloseStub func() error
12 closeMutex sync.RWMutex
13 closeArgsForCall []struct {
14 }
15 closeReturns struct {
16 result1 error
17 }
18 closeReturnsOnCall map[int]struct {
19 result1 error
20 }
21 HasNextStub func() bool
22 hasNextMutex sync.RWMutex
23 hasNextArgsForCall []struct {
24 }
25 hasNextReturns struct {
26 result1 bool
27 }
28 hasNextReturnsOnCall map[int]struct {
29 result1 bool
30 }
31 NextStub func() (*queryresult.KV, error)
32 nextMutex sync.RWMutex
33 nextArgsForCall []struct {
34 }
35 nextReturns struct {
36 result1 *queryresult.KV
37 result2 error
38 }
39 nextReturnsOnCall map[int]struct {
40 result1 *queryresult.KV
41 result2 error
42 }
43 invocations map[string][][]interface{}
44 invocationsMutex sync.RWMutex
45}
46
47func (fake *StateQueryIterator) Close() error {
48 fake.closeMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected