(err error)
| 401 | } |
| 402 | |
| 403 | func dontExpectEOF(err error) error { |
| 404 | if err != nil { |
| 405 | if errors.Is(err, io.EOF) { |
| 406 | return io.ErrUnexpectedEOF |
| 407 | } |
| 408 | |
| 409 | return err |
| 410 | } |
| 411 | |
| 412 | return nil |
| 413 | } |
| 414 | |
| 415 | type Broker struct { |
| 416 | Rack string |
no outgoing calls
no test coverage detected