hi-server/pkg/constant/context.go
shanshanzhong a01570b59d
Some checks failed
Build docker and publish / build (20.15.1) (push) Failing after 8m21s
fix gitea workflow path and runner label
2026-03-04 06:33:14 -08:00

19 lines
636 B
Go

package constant
type CtxKey string
const (
CtxKeyUser CtxKey = "user"
CtxKeySessionID CtxKey = "sessionId"
CtxKeyRequestHost CtxKey = "requestHost"
CtxKeyPlatform CtxKey = "platform"
CtxKeyPayment CtxKey = "payment"
CtxLoginType CtxKey = "loginType"
LoginType CtxKey = "loginType"
CtxKeyIdentifier CtxKey = "identifier"
CtxKeyDeviceID CtxKey = "deviceId"
CtxKeyIncludeExpired CtxKey = "includeExpired"
CtxKeyAPIVersionUseLatest CtxKey = "apiVersionUseLatest"
CtxKeyAPIHeaderRaw CtxKey = "apiHeaderRaw"
)