Versions in this module Expand all Collapse all v0 v0.1.0 Sep 21, 2019 Changes in this version + func CreateChaincodeProposalWithTxIDAndTransient(chainID string, spec *pb.ChaincodeSpec, creator []byte, ...) (*pb.Proposal, string, error) + func GetSignedProposal(prop *pb.Proposal, signer msp.SigningIdentity) (*pb.SignedProposal, error) + func InitCrypto(m *mspex.MspEnv) error + type BroadcastClient interface + Close func() error + Send func(env *cb.Envelope) error + type ChaincodeEnv struct + ChaincodeName string + ChannelID string + Function string + type NodeEnv struct + Address string + ConnTimeout time.Duration + Connect *grpc.ClientConn + HostnameOverride string + RootCertFile string + TLS bool + func (node *NodeEnv) ClientConn() error + func (node *NodeEnv) CloseConn() + func (node *NodeEnv) VerifyConn() error + type OrderEnv struct + func (order *OrderEnv) NewBroadcastClient() (BroadcastClient, error) + type PeerEnv struct + func (peer *PeerEnv) NewEndorserClient() pb.EndorserClient + type RPC struct + func (_ *RPC) NewManager() *RPCManager + type RPCBuilder struct + ConnManager *RPCManager + Peers []*PeerEnv + TxTimeout time.Duration + func NewRpcBuilder() *RPCBuilder + func (r *RPCBuilder) CloseConn() + func (r *RPCBuilder) InitConn(isOrdererRequired bool) error + func (r *RPCBuilder) Invoke(args [][]byte) (string, error) + func (r *RPCBuilder) PreHande(invoke bool) (string, error) + func (r *RPCBuilder) Query(args [][]byte) ([]byte, error) + func (r *RPCBuilder) VerifyConn(isOrdererRequired bool) error + type RPCManager struct + func NewRpcManager() *RPCManager + func (m *RPCManager) Cancel() + func (m *RPCManager) Context() context.Context