unresponsiveTestConn mimics a net.Conn for an unresponsive peer. It is used for testing the PeerNotResponding case.
| 111 | // unresponsiveTestConn mimics a net.Conn for an unresponsive peer. It is used |
| 112 | // for testing the PeerNotResponding case. |
| 113 | type unresponsiveTestConn struct { |
| 114 | net.Conn |
| 115 | } |
| 116 | |
| 117 | // NewUnresponsiveTestConn creates a new instance of unresponsiveTestConn object. |
| 118 | func NewUnresponsiveTestConn() net.Conn { |
nothing calls this directly
no outgoing calls
no test coverage detected