dan pittman
0e786fa4af
adds ability to reset params after a filter runs
...
When a filter is run _after_ the router completes, it's input params,
such as `":splat"` will have been overwritten by the filter's router pass.
This commit adds the ability to tell the router to revert to the previous input
params after running a filter.
2016-08-07 07:44:30 -07:00
fud
cd514803a4
simplify filter.go hooks.go
2015-12-22 10:02:59 +08:00
astaxie
2b651fbae2
reuse map in tree.Match
2015-12-11 13:51:01 +08:00
astaxie
67b36d7c48
make golint happy
2015-09-08 21:41:38 +08:00
cr7pt0gr4ph7
1053b63bbc
Improve documentation of filter.go.
2015-05-25 09:10:37 +08:00
astaxie
716962672f
fix #751
...
add config ListenTCP4
when user want to listen on the TCP4, because now almost use the ipv4.
but default lister on the ipv6
2014-11-03 15:06:25 +08:00
Bill Davis
b6f789c497
Changes to handle multi filters on execution pt
2014-10-07 16:35:30 -04:00
astaxie
a144769515
update the documents & comments
2014-08-18 16:41:43 +08:00
astaxie
fefd8ddb5b
beego: update licence& fix #669
2014-07-03 23:40:21 +08:00
astaxie
0f170a80da
update the comments fix #658
2014-06-25 10:39:37 +08:00
astaxie
e00eab7f49
beego: change to tree
2014-06-08 20:24:07 +08:00
astaxie
17104c25a2
beego: Refactoring Filter & add comments
2014-05-20 18:47:41 +08:00
astaxie
c188cbbcb4
update all files License
2014-05-17 02:26:50 +08:00
astaxie
984b0cbf31
1. :all param default expr change from (.+) to (.*)
...
2. add hookfunc to support appstart hook
2013-12-30 15:06:51 +08:00
傅小黑
b459cf2347
add api comments in file config.go, controller.go, filter.go and flash.go
2013-12-20 21:16:26 +08:00
astaxie
54fb49ed95
fix #315
2013-11-26 16:47:50 +08:00
astaxie
b16ef12ac0
fix test
2013-11-26 14:13:23 +08:00
astaxie
e11c40eee4
fix #244
2013-10-12 16:56:42 +08:00
astaxie
95307a3d78
miss filter *
2013-09-19 23:14:47 +08:00
astaxie
bd61dd9ffc
change a log about new version
2013-09-10 00:00:18 +08:00