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

package ccintf

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


Package Files


type ChaincodeServerInfo Uses

type ChaincodeServerInfo struct {
    Address      string
    ClientConfig comm.ClientConfig

ChaincodeServerInfo provides chaincode connection information

type ChaincodeStream Uses

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

ChaincodeStream interface for stream between Peer and chaincode instance.

type PeerConnection Uses

type PeerConnection struct {
    Address   string
    TLSConfig *TLSConfig

PeerConnection instructs the chaincode how to connect back to the peer

type TLSConfig Uses

type TLSConfig struct {
    ClientCert []byte
    ClientKey  []byte
    RootCert   []byte

TLSConfig is used to pass the TLS context into the chaincode launch

Package ccintf imports 2 packages (graph) and is imported by 206 packages. Updated 2019-11-23. Refresh now. Tools for package owners.