rpc

package
v1.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

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, proxy 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL