Closed is a channel that ends when the connection has been closed.
()
| 660 | // Closed is a channel that ends when the connection has |
| 661 | // been closed. |
| 662 | func (c *Conn) Closed() <-chan struct{} { |
| 663 | return c.closed |
| 664 | } |
| 665 | |
| 666 | // Close shuts down the Wireguard connection. |
| 667 | func (c *Conn) Close() error { |
no outgoing calls
no test coverage detected