MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / sessionStore

Struct sessionStore

apps/server/internal/httpserver/security.go:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24)
25
26type sessionStore struct {
27 mu sync.Mutex
28 sessions map[string]time.Time
29 // path, when non-empty, persists sessions to disk so browser logins survive a
30 // server restart (opt-in via ZENNOTES_PERSIST_SESSIONS).
31 path string
32}
33
34type attemptLimiter struct {
35 mu sync.Mutex

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected