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

Method NewSessionID

session/session.go:128–131  ·  view source on GitHub ↗

NewSessionID create new session id with DefaultSessionLength

()

Source from the content-addressed store, hash-verified

126
127// NewSessionID create new session id with DefaultSessionLength
128func (manager *SessionManager) NewSessionID() string {
129 val := cryptos.GetRandString(DefaultSessionLength)
130 return val
131}
132
133// StoreConfig return store config
134func (manager *SessionManager) StoreConfig() *StoreConfig {

Callers 1

prepareHttpContextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected