mirror of
https://github.com/astaxie/beego.git
synced 2025-07-13 16:41:01 +00:00
Changes to handle multi filters on execution pt
This commit is contained in:
@ -17,9 +17,10 @@ package beego
|
||||
// FilterRouter defines filter operation before controller handler execution.
|
||||
// it can match patterned url and do filter function when action arrives.
|
||||
type FilterRouter struct {
|
||||
filterFunc FilterFunc
|
||||
tree *Tree
|
||||
pattern string
|
||||
filterFunc FilterFunc
|
||||
tree *Tree
|
||||
pattern string
|
||||
returnOnOutput bool
|
||||
}
|
||||
|
||||
// ValidRouter check current request is valid for this filter.
|
||||
|
Reference in New Issue
Block a user