Documentation ¶
Overview ¶
wgin is a wrapped gin
Index ¶
- func ChangeLoggerLevel(hack utility.Hack, wlogger *wlog.Logger) gin.HandlerFunc
- func GormTX(db *gorm.DB, skip func(ctx *gin.Context) bool, wlogger *wlog.Logger) gin.HandlerFunc
- func O11YLogger(debug bool, enableTrace bool, Logger *wlog.Logger) (gin.HandlerFunc, gin.HandlerFunc)
- func O11YMetric(svcName string) gin.HandlerFunc
- func O11YTrace(enableTrace bool) func(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeLoggerLevel ¶
func O11YLogger ¶
func O11YLogger(debug bool, enableTrace bool, Logger *wlog.Logger) (gin.HandlerFunc, gin.HandlerFunc)
func O11YMetric ¶
func O11YMetric(svcName string) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.