Versions in this module Expand all Collapse all v0 v0.1.0 Dec 10, 2018 Changes in this version + type Client interface + type ClientJSONRPC struct + func NewClientJSONRPC(logger *zap.Logger, remote string) *ClientJSONRPC + func (c *ClientJSONRPC) Call(method string, params []interface{}, result interface{}) (interface{}, error) + type ClientURI struct + func NewClientURI(logger *zap.Logger, remote string) *ClientURI + func (c *ClientURI) Call(method string, params map[string]interface{}, result interface{}) (interface{}, error) + type WSClient struct + Address string + Dialer func(string, string) (net.Conn, error) + Endpoint string + ErrorsCh chan error + ResultsCh chan json.RawMessage + func NewWSClient(logger *zap.Logger, remoteAddr, endpoint string) *WSClient + func (wsc *WSClient) OnStart() error + func (wsc *WSClient) OnStop() + func (wsc *WSClient) String() string + func (wsc *WSClient) Subscribe(eventid string) error + func (wsc *WSClient) Unsubscribe(eventid string) error