Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCCHandlerKey ¶ added in v1.0.0
func GetCCHandlerKey() string
GetCCHandlerKey is used to pass CCSupport via context
Types ¶
type CCSupport ¶ added in v1.0.0
type CCSupport interface {
HandleChaincodeStream(ChaincodeStream) error
}
CCSupport must be implemented by the chaincode support side in peer (such as chaincode_support)
type ChaincodeStream ¶
type ChaincodeStream interface { Send(*pb.ChaincodeMessage) error Recv() (*pb.ChaincodeMessage, error) }
ChaincodeStream interface for stream between Peer and chaincode instance.
Click to show internal directories.
Click to hide internal directories.