ServeHTTP serves only if this request and auth mode are allowed all Operations.
(w http.ResponseWriter, r *http.Request)
| 417 | |
| 418 | // ServeHTTP serves only if this request and auth mode are allowed all Operations. |
| 419 | func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
| 420 | h.serveHTTPForOp(w, r, OpAll) |
| 421 | } |
| 422 | |
| 423 | // serveHTTPForOp serves only if op is allowed for this request and auth mode. |
| 424 | func (h Handler) serveHTTPForOp(w http.ResponseWriter, r *http.Request, op Operation) { |
no test coverage detected