1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

update mvc/authenticated-controller example

rel to: https://github.com/kataras/iris/issues/1536 too


Former-commit-id: 0ed36644ee2d6c27d90450700d9241eb1ba93c17
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-06-14 15:24:42 +03:00
parent 9c739969f0
commit 5088a35cf5
4 changed files with 56 additions and 41 deletions

View File

@@ -289,9 +289,9 @@ func (api *APIBuilder) SetExecutionRules(executionRules ExecutionRules) Party {
type RouteRegisterRule uint8
const (
// RouteOverride an existing route with the new one, the default rule.
// RouteOverride replaces an existing route with the new one, the default rule.
RouteOverride RouteRegisterRule = iota
// RouteSkip registering a new route twice.
// RouteSkip keeps the original route and skips the new one.
RouteSkip
// RouteError log when a route already exists, shown after the `Build` state,
// server never starts.