Test if Conn has been closed Lock is assumed held.
()
| 6250 | |
| 6251 | // Test if Conn has been closed Lock is assumed held. |
| 6252 | func (nc *Conn) isClosed() bool { |
| 6253 | return nc.status == CLOSED |
| 6254 | } |
| 6255 | |
| 6256 | // Test if Conn is in the process of connecting |
| 6257 | func (nc *Conn) isConnecting() bool { |
no outgoing calls
no test coverage detected