希望可以支持为Group设置中间件 #2
Labels
No Label
bug
doc
duplicate
enhancement
help wanted
invalid
question
testing
wait_for_investigate
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: lunny/tango#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @Shuenhoy
Author: @lunny
其实只要在中间件中匹配Group的前缀就可以了。
Author: @lunny
不知道有没有解决你的问题?@Shuenhoy
Author: @lunny
Now, you can use the below code to add a middleware to a group. All the handlers could be add to group.