ccintf

package
v2.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CCID

type CCID string

CCID encapsulates chaincode ID

func New

func New(packageID persistence.PackageID) CCID

New returns a chaincode ID given the supplied package ID

func (CCID) String

func (c CCID) String() string

String returns a string version of the chaincode ID

type CCSupport

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL