Files
gralias/models/keys.go
2025-07-01 09:38:03 +03:00

19 lines
449 B
Go

package models
var (
AuthCookie = "session_token"
CtxRoomIDKey = "current_room"
CtxUsernameKey = "username"
CtxSessionKey = "session"
// cache
CacheRoomPrefix = "room#"
CacheStatePrefix = "state-"
CacheBotPredix = "botkey_"
// sse
NotifyRoomListUpdate = "roomlistupdate"
NotifyRoomUpdatePrefix = "roomupdate_"
NotifyBacklogPrefix = "backlog_"
NotifyJournalPrefix = "journal_"
NotifyTurnTimerPrefix = "turntimer_"
)