Documentation ¶
Overview ¶
Description: conf log 实现日志相关的配置项 Author: ZHU HAIHUA Since: 2016-02-27 15:10
Description: conf recovery 用于顶层的错误恢复,并将错误堆栈记录到日志中. Author: ZHU HAIHUA Since: 2016-02-27 15:27
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLog ¶
func AccessLog() gin.HandlerFunc
func ErrorLoggerT ¶
func ErrorLoggerT(typ gin.ErrorType) gin.HandlerFunc
func Recovery ¶
func Recovery() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.