Documentation ¶
Index ¶
- type Client
- func (c *Client) BatchCallJsonRpc(b []api.BatchElem) error
- func (c *Client) CallJsonRpc(result interface{}, method string, args interface{}) error
- func (c *Client) Close() error
- func (c *Client) ErrFromWS() chan error
- func (c *Client) GetType() api.ClientType
- func (c *Client) WriteByWs(msg api.WSMessage) error
- type Context
- type Server
- type WsOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { api.ClientAdapter // contains filtered or unexported fields }
func (*Client) CallJsonRpc ¶
func (*Client) GetType ¶
func (c *Client) GetType() api.ClientType
type Context ¶
type Context struct { ctx.ContextAdapter // contains filtered or unexported fields }
type WsOption ¶
type WsOption func(opt *wsOption)
func WithRawHandle ¶
func WithRawHandle(handle api.RawWsHandle) WsOption
func WithRpcServer ¶
Click to show internal directories.
Click to hide internal directories.