Versions in this module Expand all Collapse all v0 v0.1.0 Sep 21, 2019 Changes in this version + func SyncQueryResult(msg proto.Message, out chan QueryResp) error + type BatchTxCall struct + Msg pb.TxBatch + func (t *BatchTxCall) CommitBatch(method string) error + func (t *BatchTxCall) FailAllQueries(err error) + func (t *BatchTxCall) Invoke(method string, msg proto.Message) error + func (t *BatchTxCall) Nonce() []byte + func (t *BatchTxCall) Query(method string, msg proto.Message) (chan QueryResp, error) + type InnerChaincode string + func (s InnerChaincode) NewInnerTxInterface(stub shim.ChaincodeStubInterface, nonce []byte) *InnerTxGenerator + type InnerTxGenerator struct + func (t *InnerTxGenerator) GetNonce() []byte + func (t *InnerTxGenerator) Invoke(method string, msg proto.Message) error + func (t *InnerTxGenerator) Query(method string, msg proto.Message) (chan QueryResp, error) + func (t *InnerTxGenerator) Result() TxCallResult + func (t *InnerTxGenerator) TxDone() chan struct{} + func (t *InnerTxGenerator) TxID() (string, error) + type QueryResp struct + ErrMsg error + SuccMsg []byte + type TxCallResult interface + TxID func() (string, error) + type TxCaller interface + GetNonce func() []byte + Invoke func(method string, msg proto.Message) error + Query func(method string, msg proto.Message) (chan QueryResp, error) + Result func() TxCallResult + TxDone func() chan struct{} + type TxCredHandler interface + DoCred func(txutil.Builder) error + func NewMultiKeyCred(privkey ...crypto.Signer) TxCredHandler + func NewSingleKeyCred(privkey crypto.Signer) TxCredHandler + type TxGenerator struct + Ccname string + Credgenerator TxCredHandler + Dispatcher rpc.Caller + MethodMapper map[string]string + Timelock time.Time + func DefaultTxGen(ccname string, privkey crypto.Signer) *TxGenerator + func SimpleTxGen(ccname string) *TxGenerator + func (t *TxGenerator) BeginDeploy(nonce []byte) + func (t *TxGenerator) BeginTx(nonce []byte) + func (t *TxGenerator) GetBuilder() txutil.Builder + func (t *TxGenerator) GetNonce() []byte + func (t *TxGenerator) Invoke(method string, msg proto.Message) error + func (t *TxGenerator) MapMethod(m map[string]string) + func (t *TxGenerator) Query(method string, msg proto.Message) (chan QueryResp, error) + func (t *TxGenerator) Result() TxCallResult + func (t *TxGenerator) SetDeploy() + func (t *TxGenerator) TxDone() chan struct{} + func (t *TxGenerator) TxID() (string, error)