Close implements Connection.
()
| 354 | |
| 355 | // Close implements Connection. |
| 356 | func (c *connection) Close() error { |
| 357 | return c.onClose() |
| 358 | } |
| 359 | |
| 360 | // Detach detaches the connection from poller but doesn't close it. |
| 361 | func (c *connection) Detach() error { |