package
0.0.0-20231103123238-49bf83314d38
Repository: https://github.com/daz-3ux/dblog.git
Documentation: pkg.go.dev
# README
known
- 放置需要共享的 key
- X-Request-ID 会同时被
日志
以及gin.Context
需要 - 所以将 key 的名字保存在共享包
known
中, 便于使用
- X-Request-ID 会同时被
# Constants
XRequestIDKey is used to define the key in the Gin context representing the request UUID.
XUsernameKey is used to define the key in the Gin context representing the request username.