路由组里面的中间件不执行 #25

Closed
opened 2016-03-12 09:12:46 +00:00 by lunny · 2 comments
Owner

Author: @dxvgef

按照文档里说的在路由组里使用g.Use()注册的中间件不执行,改为app.Use()可以执行

Author: @dxvgef 按照文档里说的在路由组里使用g.Use()注册的中间件不执行,改为app.Use()可以执行
Author
Owner

Author: @lunny

已在 153b7058e9 中实现。不过组中的中间件只对匹配的路由有效,这一点上和全局中间件不同。

Author: @lunny 已在 153b7058e918a287a6598dd3e157c5953d48238d 中实现。不过组中的中间件只对匹配的路由有效,这一点上和全局中间件不同。
Author
Owner

Author: @dxvgef

3q~~

Author: @dxvgef 3q~~
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/tango#25
No description provided.