The last filterFunc with returnOnOutput=ture won't be executed
ex: beego.InsertFilter("/*", beego.BeforeExec, FilterLoginCheck1,false) beego.InsertFilter("/*", beego.BeforeExec, FilterLoginCheck2) In function FilterLoginCheck1 , I'll write data via ResponseWriter, and w.started = true FilterLoginCheck2 won't be executed, it should be.
Showing
Please
register
or
sign in
to comment