mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-03 07:13:26 +08:00
31 lines
485 B
Go
31 lines
485 B
Go
package consts
|
|
|
|
const (
|
|
UserActiveKeyFmt = "user:active:%s"
|
|
)
|
|
|
|
type UserStatus string
|
|
|
|
const (
|
|
UserStatusActive UserStatus = "active"
|
|
UserStatusInactive UserStatus = "inactive"
|
|
UserStatusLocked UserStatus = "locked"
|
|
)
|
|
|
|
const (
|
|
SessionName = "monkeycode_session"
|
|
)
|
|
|
|
type UserPlatform string
|
|
|
|
const (
|
|
UserPlatformEmail UserPlatform = "email"
|
|
UserPlatformDingTalk UserPlatform = "dingtalk"
|
|
)
|
|
|
|
type OAuthKind string
|
|
|
|
const (
|
|
OAuthKindSignUpOrIn OAuthKind = "signup_or_in"
|
|
)
|