mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 04:51:56 +00:00
implement #1536 with (SetRegisterRule(iris.RouteOverlap))
Former-commit-id: 2b5523ff3e2aab60dd83faa3c520b16a34916fbe
This commit is contained in:
@@ -116,7 +116,11 @@ type Party interface {
|
||||
// Example: https://github.com/kataras/iris/tree/master/_examples/mvc/middleware/without-ctx-next
|
||||
SetExecutionRules(executionRules ExecutionRules) Party
|
||||
// SetRegisterRule sets a `RouteRegisterRule` for this Party and its children.
|
||||
// Available values are: RouteOverride (the default one), RouteSkip and RouteError.
|
||||
// Available values are:
|
||||
// * RouteOverride (the default one)
|
||||
// * RouteSkip
|
||||
// * RouteError
|
||||
// * RouteOverlap.
|
||||
SetRegisterRule(rule RouteRegisterRule) Party
|
||||
|
||||
// Handle registers a route to the server's router.
|
||||
|
||||
Reference in New Issue
Block a user