MCPcopy Create free account
hub / github.com/devfeel/dotweb / SessionUpdate

Method SessionUpdate

session/session.go:29–29  ·  view source on GitHub ↗
(state *SessionState)

Source from the content-addressed store, hash-verified

27 SessionRead(sessionId string) (*SessionState, error)
28 SessionExist(sessionId string) bool
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

Callers 2

SetMethod · 0.65
initFunction · 0.65

Implementers 2

RedisStoresession/store_redis.go
RuntimeStoresession/store_runtime.go

Calls

no outgoing calls

Tested by 1

initFunction · 0.52