server/internal/config/cacheKey.go
Chang lue Tsen 8addcc584b init: 1.0.0
2025-04-25 12:08:29 +09:00

79 lines
2.3 KiB
Go

package config
// CurrencyConfigKey Currency Config Key
const CurrencyConfigKey = "system:currency_config"
// SmsConfigKey Mobile Config Key
const SmsConfigKey = "system:sms_config"
// SiteConfigKey Site Config Key
const SiteConfigKey = "system:site_config"
// SubscribeConfigKey Subscribe Config Key
const SubscribeConfigKey = "system:subscribe_config"
// ApplicationKey Application Key
const ApplicationKey = "system:application"
// RegisterConfigKey Register Config Key
const RegisterConfigKey = "system:register_config"
// VerifyConfigKey Verify Config Key
const VerifyConfigKey = "system:verify_config"
// EmailSmtpConfigKey Email Smtp Config Key
const EmailSmtpConfigKey = "system:email_smtp_config"
// NodeConfigKey Node Config Key
const NodeConfigKey = "system:node_config"
// InviteConfigKey Invite Config Key
const InviteConfigKey = "system:invite_config"
// TelegramConfigKey Telegram Config Key
const TelegramConfigKey = "system:telegram_config"
// TosConfigKey Tos配置
const TosConfigKey = "system:tos_config"
// VerifyCodeConfigKey Verify Code Config Key
const VerifyCodeConfigKey = "system:verify_code_config"
// SessionIdKey cache session key
const SessionIdKey = "auth:session_id"
// GlobalConfigKey Global Config Key
const GlobalConfigKey = "system:global_config"
// AuthCodeCacheKey Register Code Cache Key
const AuthCodeCacheKey = "auth:verify:email"
// AuthCodeTelephoneCacheKey Register Code Cache Key
const AuthCodeTelephoneCacheKey = "auth:verify:telephone"
// ServerUserListCacheKey Server User List Cache Key
const ServerUserListCacheKey = "server:user_list:id:"
// ServerConfigCacheKey Server Config Cache Key
const ServerConfigCacheKey = "server:config:id:"
// CommonStat Cache Key
const CommonStatCacheKey = "common:stat"
// ServerStatusCacheKey Server Status Cache Key
const ServerStatusCacheKey = "server:status:id:"
// ServerCountCacheKey Server Count Cache Key
const ServerCountCacheKey = "server:count"
// UserBindTelegramCacheKey User Bind Telegram Cache Key
const UserBindTelegramCacheKey = "user:bind:telegram:code:"
const CacheSmsCount = "cache:sms:count"
// SendIntervalKeyPrefix Auth Code Send Interval Key Prefix
const SendIntervalKeyPrefix = "send:interval:"
// SendCountLimitKeyPrefix Send Count Limit Key Prefix eg. send:limit:register:email:xxx@ppanel.dev
const SendCountLimitKeyPrefix = "send:limit:"