Documentation ¶ Index ¶ type Client func NewClient(addr string) (*Client, error) func (c *Client) Call(method string, out interface{}, params ...interface{}) error func (c *Client) Close() error func (c *Client) Subscribe(method string, callback func(b []byte)) (func() error, error) func (c *Client) SubscriptionEnabled() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func NewClient ¶ func NewClient(addr string) (*Client, error) func (*Client) Call ¶ func (c *Client) Call(method string, out interface{}, params ...interface{}) error func (*Client) Close ¶ func (c *Client) Close() error func (*Client) Subscribe ¶ func (c *Client) Subscribe(method string, callback func(b []byte)) (func() error, error) func (*Client) SubscriptionEnabled ¶ func (c *Client) SubscriptionEnabled() bool Source Files ¶ View all Source files client.go subscribe.go Directories ¶ Show internal Expand all Path Synopsis codec transport Click to show internal directories. Click to hide internal directories.