1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 04:21:57 +00:00

route logging improvement: group by methods

Former-commit-id: ad884991433a244dc76bdad7314d98a5c204dac6
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-04-26 17:51:27 +03:00
parent 66e641513c
commit 346ca2a219
5 changed files with 34 additions and 7 deletions

View File

@@ -26,13 +26,13 @@ const MethodNone = "NONE"
// "PATCH", "OPTIONS", "TRACE".
var AllMethods = []string{
http.MethodGet,
http.MethodPost,
http.MethodPut,
http.MethodDelete,
http.MethodConnect,
http.MethodHead,
http.MethodPatch,
http.MethodPut,
http.MethodPost,
http.MethodDelete,
http.MethodOptions,
http.MethodConnect,
http.MethodTrace,
}