Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devfeel/dotweb
/ SessionCount
Method
SessionCount
session/session.go:31–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
SessionUpdate(state *SessionState) error
30
SessionRemove(sessionId string) error
31
SessionCount() int
// get all active session length
32
SessionGC() int
// gc session and return out of date state num
33
}
34
Callers
2
BenchmarkRuntimeStore_SessionCount_1
Function · 0.65
BenchmarkRuntimeStore_SessionCount_Parallel
Function · 0.65
Implementers
2
RedisStore
session/store_redis.go
RuntimeStore
session/store_runtime.go
Calls
no outgoing calls
Tested by
2
BenchmarkRuntimeStore_SessionCount_1
Function · 0.52
BenchmarkRuntimeStore_SessionCount_Parallel
Function · 0.52