Files
gralias/models/keys.go
2025-06-12 07:04:20 +03:00

16 lines
343 B
Go

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