MCPcopy Create free account
hub / github.com/Hound-Media-Server/hound / getUserAuthSessionCacheKey

Function getUserAuthSessionCacheKey

server/database/sessions.go:29–31  ·  view source on GitHub ↗
(userID int64, sessionID string)

Source from the content-addressed store, hash-verified

27)
28
29func getUserAuthSessionCacheKey(userID int64, sessionID string) string {
30 return fmt.Sprintf("auth_session|user_id:%d|session_id:%s", userID, sessionID)
31}
32
33func getAuthSessionCacheKey(sessionID string) string {
34 return fmt.Sprintf("auth_session|session_id:%s", sessionID)

Callers 3

GenerateAuthSessionFunction · 0.85
DeleteUserAuthSessionsFunction · 0.85
DeleteAuthSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected