()
| 424 | } |
| 425 | |
| 426 | func (c *Conn) isClosed() bool { |
| 427 | select { |
| 428 | case <-c.closed: |
| 429 | return true |
| 430 | default: |
| 431 | return false |
| 432 | } |
| 433 | } |
| 434 | |
| 435 | // AcceptOptions represents Accept's options. |
| 436 | type AcceptOptions struct { |
no outgoing calls
no test coverage detected