Skip to content

Commit 6f21dfe

Browse files
author
pzrr@qq.com
committed
#### Version 1.4.1
* dotweb新增ExcludeUse接口,用于设置指定排除路由的中间件,fixed for devfeel#94 建议增加exuse方法用来实现exclude uri功能 * 调整dotweb部分内部函数名称 * 重构Middleware实现,优化代码结构,使流程更清晰 * Node新增AppMiddlewares与GroupMiddlewares,用于存储App级、Group级的中间件实例 * Middleware新增Exclude相关接口 * Exclude(routers ...string)函数,用于指定不生效的路由 * HasExclude() bool函数,用于判定当前中间件实例是否存在排除路由 * ExistsExcludeRouter(router string) bool函数,用于判定当前中间件实例的排除路由中是否存在指定路由 * middleware执行优先级: - 优先级1:app级别middleware - 优先级2:group级别middleware - 优先级:router级别middleware * 更新example/middleware * 2018-01-01 23:00:00
1 parent 1daf7df commit 6f21dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

version.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## dotweb版本记录:
22

33
#### Version 1.4.1
4-
* dotweb新增ExcludeUse接口,用于设置指定排除路由的中间件
4+
* dotweb新增ExcludeUse接口,用于设置指定排除路由的中间件,fixed for #94 建议增加exuse方法用来实现exclude uri功能
55
* 调整dotweb部分内部函数名称
66
* 重构Middleware实现,优化代码结构,使流程更清晰
77
* Node新增AppMiddlewares与GroupMiddlewares,用于存储App级、Group级的中间件实例

0 commit comments

Comments
 (0)