maybeHasData checks if there is data in the socket without consuming it
(conn net.Conn)
| 55 | |
| 56 | // maybeHasData checks if there is data in the socket without consuming it |
| 57 | func maybeHasData(conn net.Conn) bool { |
| 58 | return connCheck(conn) == errUnexpectedRead |
| 59 | } |
no test coverage detected