fabric: github.com/hyperledger/fabric/core/container/ccintf Index | Files

package ccintf

import "github.com/hyperledger/fabric/core/container/ccintf"


Package Files


func GetCCHandlerKey Uses

func GetCCHandlerKey() string

GetCCHandlerKey is used to pass CCSupport via context

type CCID Uses

type CCID struct {
    Name    string
    Version string

CCID encapsulates chaincode ID

func (*CCID) GetName Uses

func (ccid *CCID) GetName() string

GetName returns canonical chaincode name based on the fields of CCID

type CCSupport Uses

type CCSupport interface {
    HandleChaincodeStream(ChaincodeStream) error

CCSupport must be implemented by the chaincode support side in peer (such as chaincode_support)

type ChaincodeStream Uses

type ChaincodeStream interface {
    Send(*pb.ChaincodeMessage) error
    Recv() (*pb.ChaincodeMessage, error)

ChaincodeStream interface for stream between Peer and chaincode instance.

Package ccintf imports 2 packages (graph) and is imported by 115 packages. Updated 2018-10-11. Refresh now. Tools for package owners.