1
0
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:
Gerasimos (Makis) Maropoulos
2020-08-26 06:57:36 +03:00
parent 1780d97d44
commit d44b69faed
6 changed files with 191 additions and 25 deletions

View File

@@ -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",