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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user