mirror of
https://gitee.com/johng/gf
synced 2026-07-08 06:35:16 +08:00
ghttp.Server事件回调之间支持通过ghttp.Request.Param自定义参数进行流程传参
This commit is contained in:
@ -31,6 +31,7 @@ type Request struct {
|
||||
Router *Router // 匹配到的路由对象
|
||||
EnterTime int64 // 请求进入时间(微秒)
|
||||
LeaveTime int64 // 请求完成时间(微秒)
|
||||
Param interface{} // 开发者自定义参数
|
||||
}
|
||||
|
||||
// 创建一个Request对象
|
||||
|
||||
Reference in New Issue
Block a user