Ctx is a context for "out of band" messages (e.g., for sending "clean up" message when another context is canceled). It is canceled on client Close().
()
| 163 | // "clean up" message when another context is canceled). It is |
| 164 | // canceled on client Close(). |
| 165 | func (c *Client) Ctx() context.Context { return c.ctx } |
| 166 | |
| 167 | // Endpoints lists the registered endpoints for the client. |
| 168 | func (c *Client) Endpoints() []string { |
no outgoing calls