Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AccessLogger *zap.Logger
View Source
var RecoveryLogger *zap.Logger
Functions ¶
func InitAccessLogger ¶
func InitAccessLogger(basePath string)
func InitRecoveryLogger ¶
func InitRecoveryLogger(basePath string)
func InitServerLogger ¶
func InitServerLogger(basePath string)
func RecoveryWithZap ¶
func RecoveryWithZap(logger *zap.Logger, stack bool) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.