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

Function NewDefaultRedisConfig

session/session.go:79–81  ·  view source on GitHub ↗

NewDefaultRedisConfig create new store with default config and use redis store

(serverIp string)

Source from the content-addressed store, hash-verified

77
78// NewDefaultRedisConfig create new store with default config and use redis store
79func NewDefaultRedisConfig(serverIp string) *StoreConfig {
80 return NewRedisConfig(serverIp, DefaultSessionMaxLifeTime, "", 0, 0)
81}
82
83// NewRedisConfig create new store with config and use redis store
84// must set serverIp and storeKeyPre

Callers

nothing calls this directly

Calls 1

NewRedisConfigFunction · 0.85

Tested by

no test coverage detected