Close closes the socket connection.
()
| 61 | |
| 62 | // Close closes the socket connection. |
| 63 | func (c *Client) Close() error { |
| 64 | return c.conn.Close() |
| 65 | } |
| 66 | |
| 67 | // Ping sends a ping request to the agent. |
| 68 | func (c *Client) Ping(ctx context.Context) error { |