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

Struct QueryResultsIterator

core/chaincode/mock/results_iterator.go:10–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type QueryResultsIterator struct {
11 CloseStub func()
12 closeMutex sync.RWMutex
13 closeArgsForCall []struct {
14 }
15 GetBookmarkAndCloseStub func() string
16 getBookmarkAndCloseMutex sync.RWMutex
17 getBookmarkAndCloseArgsForCall []struct {
18 }
19 getBookmarkAndCloseReturns struct {
20 result1 string
21 }
22 getBookmarkAndCloseReturnsOnCall map[int]struct {
23 result1 string
24 }
25 NextStub func() (ledger.QueryResult, error)
26 nextMutex sync.RWMutex
27 nextArgsForCall []struct {
28 }
29 nextReturns struct {
30 result1 ledger.QueryResult
31 result2 error
32 }
33 nextReturnsOnCall map[int]struct {
34 result1 ledger.QueryResult
35 result2 error
36 }
37 invocations map[string][][]interface{}
38 invocationsMutex sync.RWMutex
39}
40
41func (fake *QueryResultsIterator) Close() {
42 fake.closeMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected