mirror of
https://github.com/kataras/iris.git
synced 2026-01-07 20:17:05 +00:00
Add Party.ResetRouterFilters
relative to: https://github.com/kataras/iris/issues/1604#issuecomment-680410131
This commit is contained in:
@@ -121,6 +121,11 @@ type Party interface {
|
||||
//
|
||||
// Returns this Party.
|
||||
Reset() Party
|
||||
// ResetRouterFilters deactivates any pervious registered
|
||||
// router filters and the parents ones for this Party.
|
||||
//
|
||||
// Returns this Party.
|
||||
ResetRouterFilters() Party
|
||||
|
||||
// AllowMethods will re-register the future routes that will be registered
|
||||
// via `Handle`, `Get`, `Post`, ... to the given "methods" on that Party and its children "Parties",
|
||||
|
||||
Reference in New Issue
Block a user