()
| 45 | } |
| 46 | |
| 47 | func ErrorResponse() Responder { |
| 48 | return func(req *http.Request) (*http.Response, error) { |
| 49 | return httpResponse(404, req, bytes.NewBufferString("")), nil |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | func ErrorResponseWithBody(body interface{}) Responder { |
| 54 | return func(req *http.Request) (*http.Response, error) { |