NewDefaultSessionManager create new session manager with default config info
(appLog logger.AppLog, config *StoreConfig)
| 100 | |
| 101 | // NewDefaultSessionManager create new session manager with default config info |
| 102 | func NewDefaultSessionManager(appLog logger.AppLog, config *StoreConfig) (*SessionManager, error) { |
| 103 | return NewSessionManager(DefaultSessionGCLifeTime, appLog, config) |
| 104 | } |
| 105 | |
| 106 | // NewSessionManager create new seesion manager |
| 107 | func NewSessionManager(gcLifetime int64, appLog logger.AppLog, config *StoreConfig) (*SessionManager, error) { |
no test coverage detected