Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefault ¶
func SetDefault(audit *Audit)
Types ¶
type Audit ¶
type Audit struct {
// contains filtered or unexported fields
}
func (*Audit) Middleware ¶
func (a *Audit) Middleware(module string, getFields func(ctx *gin.Context) []zap.Field) gin.HandlerFunc
Middleware 中间件 可以添加自定义的字段
Click to show internal directories.
Click to hide internal directories.