Versions in this module Expand all Collapse all v6 v6.4.0 May 18, 2020 Changes in this version + type Callback func(res interface{}) (interface{}, error) + type JSONClient struct + func New(prefix, url string, tlsVerify bool) (*JSONClient, error) + func NewJSONClient(url string) (*JSONClient, error) + func (client *JSONClient) Call(method string, params, resp interface{}) error + type RPCCtx struct + Addr string + Method string + Params interface{} + Res interface{} + func NewRPCCtx(laddr, method string, params, res interface{}) *RPCCtx + func (c *RPCCtx) Run() + func (c *RPCCtx) RunResult() (interface{}, error) + func (c *RPCCtx) RunWithoutMarshal() + func (c *RPCCtx) SetResultCb(cb Callback) Other modules containing this package github.com/33cn/chain33