Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MiddlewareType = middelwaretype{
Request: 0,
Response: 1,
Both: 2,
}
MiddlewareType 全局中间件类型
Functions ¶
Types ¶
type Middleware ¶ added in v0.0.18
type Middleware struct {
Typ MiddlewareTypeValue
}
type MiddlewareInterface ¶ added in v0.0.18
type MiddlewareTypeValue ¶ added in v0.0.18
type MiddlewareTypeValue uint8
MiddlewareTypeValue 定义中间件类型
Click to show internal directories.
Click to hide internal directories.