NewDefaultRedisConfig create new store with default config and use redis store
(serverIp string)
| 77 | |
| 78 | // NewDefaultRedisConfig create new store with default config and use redis store |
| 79 | func 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 |
nothing calls this directly
no test coverage detected