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

Function NewDefaultRuntimeConfig

session/session.go:74–76  ·  view source on GitHub ↗

NewDefaultRuntimeConfig create new store with default config and use runtime store

()

Source from the content-addressed store, hash-verified

72
73// NewDefaultRuntimeConfig create new store with default config and use runtime store
74func NewDefaultRuntimeConfig() *StoreConfig {
75 return NewStoreConfig(SessionMode_Runtime, DefaultSessionMaxLifeTime, "", "", 0, 0)
76}
77
78// NewDefaultRedisConfig create new store with default config and use redis store
79func NewDefaultRedisConfig(serverIp string) *StoreConfig {

Calls 1

NewStoreConfigFunction · 0.85