MCPcopy Create free account
hub / github.com/hyperledger/fabric / ChaincodeStream

Struct ChaincodeStream

core/chaincode/mock/chaincode_stream.go:10–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type ChaincodeStream struct {
11 RecvStub func() (*peer.ChaincodeMessage, error)
12 recvMutex sync.RWMutex
13 recvArgsForCall []struct {
14 }
15 recvReturns struct {
16 result1 *peer.ChaincodeMessage
17 result2 error
18 }
19 recvReturnsOnCall map[int]struct {
20 result1 *peer.ChaincodeMessage
21 result2 error
22 }
23 SendStub func(*peer.ChaincodeMessage) error
24 sendMutex sync.RWMutex
25 sendArgsForCall []struct {
26 arg1 *peer.ChaincodeMessage
27 }
28 sendReturns struct {
29 result1 error
30 }
31 sendReturnsOnCall map[int]struct {
32 result1 error
33 }
34 invocations map[string][][]interface{}
35 invocationsMutex sync.RWMutex
36}
37
38func (fake *ChaincodeStream) Recv() (*peer.ChaincodeMessage, error) {
39 fake.recvMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected