Read reads data from the connection. Read can be made to time out and return a Error with Timeout() == true after a fixed time limit; see SetDeadline and SetReadDeadline.
(b []byte)
| 84 | // Read can be made to time out and return a Error with Timeout() == true |
| 85 | // after a fixed time limit; see SetDeadline and SetReadDeadline. |
| 86 | func (sc *SlowConn) Read(b []byte) (n int, err error) { |
| 87 | return sc.reader.Read(b) |
| 88 | } |
| 89 | |
| 90 | // Write writes data to the connection. |
| 91 | // Write can be made to time out and return a Error with Timeout() == true |
no outgoing calls