(err error)
| 301 | } |
| 302 | |
| 303 | func translateEOFtoErrUnexpectedEOF(err error) error { |
| 304 | if err == io.EOF { |
| 305 | return io.ErrUnexpectedEOF |
| 306 | } |
| 307 | return err |
| 308 | } |
| 309 | |
| 310 | // Receive receives a message from the backend. The returned message is only valid until the next call to Receive. |
| 311 | func (f *Frontend) Receive() (BackendMessage, error) { |
no outgoing calls
no test coverage detected