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

Method RemoveSessionState

session/session.go:162–164  ·  view source on GitHub ↗

RemoveSessionState delete the session state associated with a specific session ID

(sessionId string)

Source from the content-addressed store, hash-verified

160
161// RemoveSessionState delete the session state associated with a specific session ID
162func (manager *SessionManager) RemoveSessionState(sessionId string) error {
163 return manager.store.SessionRemove(sessionId)
164}
165
166// GC loop gc session data
167func (manager *SessionManager) GC() {

Callers 1

DestorySessionMethod · 0.80

Calls 1

SessionRemoveMethod · 0.65

Tested by

no test coverage detected