hi-server/pkg/constant/context.go
shanshanzhong ef64a876cd
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 5m10s
feat: 添加请求追踪中间件并支持查询过期订阅
添加请求追踪中间件以记录请求和响应内容
在用户订阅查询中新增includeExpired参数支持查询历史记录
完善配置系统以支持float64类型默认值解析
2026-01-06 20:54:15 -08:00

14 lines
348 B
Go

package constant
type CtxKey string
const (
CtxKeyUser CtxKey = "user"
CtxKeySessionID CtxKey = "sessionId"
CtxKeyRequestHost CtxKey = "requestHost"
CtxKeyPlatform CtxKey = "platform"
CtxKeyPayment CtxKey = "payment"
LoginType CtxKey = "loginType"
CtxKeyIncludeExpired CtxKey = "includeExpired"
)