Documentation ¶
Index ¶
- Constants
- func InvokedChaincodeName(proposalBytes []byte) (string, error)
- type PeerConfiger
- func (e *PeerConfiger) Chaincode() shim.Chaincode
- func (e *PeerConfiger) Init(stub shim.ChaincodeStubInterface) pb.Response
- func (e *PeerConfiger) Invoke(stub shim.ChaincodeStubInterface) pb.Response
- func (e *PeerConfiger) InvokeNoShim(args [][]byte, sp *pb.SignedProposal) pb.Response
- func (e *PeerConfiger) Name() string
Constants ¶
View Source
const ( JoinChain string = "JoinChain" GetConfigBlock string = "GetConfigBlock" GetChannels string = "GetChannels" )
Variables ¶
This section is empty.
Functions ¶
func InvokedChaincodeName ¶
Types ¶
type PeerConfiger ¶
type PeerConfiger struct {
// contains filtered or unexported fields
}
func New ¶
func New( aclProvider aclmgmt.ACLProvider, deployedCCInfoProvider ledger.DeployedChaincodeInfoProvider, lr plugindispatcher.LifecycleResources, nr plugindispatcher.CollectionAndLifecycleResources, policyChecker policy.PolicyChecker, p *peer.Peer, ) *PeerConfiger
func (*PeerConfiger) Chaincode ¶
func (e *PeerConfiger) Chaincode() shim.Chaincode
func (*PeerConfiger) Init ¶
func (e *PeerConfiger) Init(stub shim.ChaincodeStubInterface) pb.Response
func (*PeerConfiger) Invoke ¶
func (e *PeerConfiger) Invoke(stub shim.ChaincodeStubInterface) pb.Response
func (*PeerConfiger) InvokeNoShim ¶
func (e *PeerConfiger) InvokeNoShim(args [][]byte, sp *pb.SignedProposal) pb.Response
func (*PeerConfiger) Name ¶
func (e *PeerConfiger) Name() string
Click to show internal directories.
Click to hide internal directories.