1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

add IsDebug() shortcut method

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-10 16:20:19 +03:00
parent ae67987f55
commit b17217444e
5 changed files with 22 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ func getOrSetKey(ctx *context.Context) string {
}
// Note: by-default the rules(ruleset pkg)
// explictly ignores the cache handler
// explicitly ignores the cache handler
// execution on authenticated requests
// and immediately runs the next handler:
// if !h.rule.Claim(ctx) ...see `Handler` method.