Versions in this module Expand all Collapse all v0 v0.1.0 Sep 21, 2019 Changes in this version + const TxStatus_Fail + const TxStatus_Success + var ChainProxy_Impls = map[string]func() ChainClient + var Client_Impls = map[string]func() RpcClient + func NewFabricRPCConfig(ccN string) *fabricRPCCfg + type Chain struct + Height int64 + type ChainBlock struct + Hash string + Height int64 + PreviousHash string + TimeStamp time.Time + Transactions []*ChainTransaction + TxEvents []*ChainTxEvents + type ChainClient interface + ViaWeb func(*viper.Viper) ChainInfo + type ChainInfo interface + GetBlock func(int64) (*ChainBlock, error) + GetChain func() (*Chain, error) + GetTransaction func(string) (*ChainTransaction, error) + GetTxEvent func(string) ([]*ChainTxEvents, error) + type ChainTransaction struct + Chaincode string + CreatedFlag bool + Height int64 + Method string + TxArgs [][]byte + TxID string + type ChainTxEvents struct + Chaincode string + Name string + Payload []byte + Status int + TxID string + type RpcClient interface + Caller func(*RpcSpec) (rpc.Caller, error) + Chain func() (ChainInfo, error) + Load func(*viper.Viper) error + Quit func() + type RpcSpec struct + Attributes []string + ChaincodeName string + Options *viper.Viper