RemoteAddr returns peer's remote network address.
()
| 460 | |
| 461 | // RemoteAddr returns peer's remote network address. |
| 462 | func (p *peer) RemoteAddr() net.Addr { |
| 463 | return p.peerConn.conn.RemoteAddr() |
| 464 | } |
| 465 | |
| 466 | // CanSend returns true if the send queue is not full, false otherwise. |
| 467 | func (p *peer) CanSend(chID byte) bool { |
nothing calls this directly
no test coverage detected