(code int, codeStr string, errf string, a ...interface{})
| 131 | } |
| 132 | |
| 133 | func fatalError(code int, codeStr string, errf string, a ...interface{}) { |
| 134 | panic(&s3Error{ |
| 135 | statusCode: code, |
| 136 | Code: codeStr, |
| 137 | Message: fmt.Sprintf(errf, a...), |
| 138 | }) |
| 139 | } |
| 140 | |
| 141 | // serveHTTP serves the S3 protocol. |
| 142 | func (srv *Server) serveHTTP(w http.ResponseWriter, req *http.Request) { |
no outgoing calls
no test coverage detected