Versions in this module Expand all Collapse all v0 v0.1.0 Sep 21, 2019 Changes in this version + func FromArgument(arg string) []byte + func NewRESTConfig() client.ChainClient + func NewRPCConfig() client.RpcClient + type ClientConn struct + BlockConn bool + C *grpc.ClientConn + func (conn *ClientConn) Dial(conf map[string]string) error + type RPCManager struct + func NewRpcManager() *RPCManager + func (m *RPCManager) Cancel() + func (m *RPCManager) Context() context.Context + type Rpc struct + func (_ *Rpc) NewManager() *RPCManager + type RpcBuilder struct + ChaincodeName string + Conn ClientConn + ConnManager *RPCManager + Function string + Security *SecurityPolicy + TxTimeout time.Duration + func (b *RpcBuilder) Deploy(args [][]byte) (*pb.ChaincodeDeploymentSpec, error) + func (b *RpcBuilder) Fire(args [][]byte) (string, error) + func (b *RpcBuilder) GetBlock(blknum int64) (*pb.Block, error) + func (b *RpcBuilder) GetCurrentBlock() (int64, error) + func (b *RpcBuilder) GetTransaction(txid string) (*pb.Transaction, error) + func (b *RpcBuilder) GetTxIndex(string) (int64, error) + func (b *RpcBuilder) Query(args [][]byte) ([]byte, error) + func (b *RpcBuilder) VerifyConn() error + type RpcClientConfig struct + TxTimeout time.Duration + func (c *RpcClientConfig) Caller(spec *client.RpcSpec) (rpc.Caller, error) + func (c *RpcClientConfig) Chain() (client.ChainInfo, error) + func (c *RpcClientConfig) Load(vp *viper.Viper) error + func (c *RpcClientConfig) Quit() + type SecurityPolicy struct + Attributes []string + CustomIDGenAlg string + Metadata []byte + User string