View definition

func InsertFilter

Defined in github.com/astaxie/beego/app.go

Description

InsertFilter adds a FilterFunc with pattern condition and action constant. The pos means action constant including beego.BeforeStatic, beego.BeforeRouter, beego.BeforeExec, beego.AfterExec and beego.FinishRouter. The bool params is for setting the returnOnOutput value (false allows multiple filters to execute)

InsertFilter is referenced in 51 repositories

github.com/astaxie/beego github.com/tomoya92/pybbs-go github.com/dionyself/golang-cms

...