Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrintTimeMiddleware ¶
type PrintTimeMiddleware struct { }
PrintTimeMiddleware 例子: 组装一个Middleware服务,实现打印mvc框架处理请求的时间
func (*PrintTimeMiddleware) LastInit ¶
func (*PrintTimeMiddleware) LastInit(*freeFishGo.Config)
LastInit 中间件注册是调用函数进行该中间件最后的设置
func (*PrintTimeMiddleware) Middleware ¶
func (m *PrintTimeMiddleware) Middleware(ctx *freeFishGo.HttpContext, next freeFishGo.Next) *freeFishGo.HttpContext
Middleware 中间件打印mvc框架处理请求的时间
Click to show internal directories.
Click to hide internal directories.