Documentation ¶
Index ¶
- type Client
- func (c *Client) Ack(event string, v interface{}, r interface{}) (err error)
- func (c *Client) Close()
- func (c *Client) Emit(event string, v interface{}) (err error)
- func (c *Client) FetchAddress() (err error)
- func (c *Client) IsClosed() bool
- func (c *Client) MustStart()
- func (c *Client) On(e string, fn EventHandler)
- func (c *Client) RemoteAddr() string
- func (c *Client) Start() error
- type Context
- type EventHandler
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 (*Client) FetchAddress ¶ added in v0.3.0
func (*Client) On ¶
func (c *Client) On(e string, fn EventHandler)
func (*Client) RemoteAddr ¶
type EventHandler ¶
Click to show internal directories.
Click to hide internal directories.