(w http.ResponseWriter)
| 90 | } |
| 91 | |
| 92 | func forbidden(w http.ResponseWriter) { |
| 93 | http.Error(w, "Forbidden", http.StatusForbidden) |
| 94 | } |
| 95 | |
| 96 | func isNoAuthPath(path string, metricsWithoutAuth bool) bool { |
| 97 | // Local variable instead of module var to prevent accidental mutation |
no test coverage detected