Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSessionReaper ¶
func NewSessionReaper(db *sql.DB, config SessionReaperConfig, lggr logger.Logger) *utils.SleeperTask
NewSessionReaper creates a reaper that cleans stale sessions from the store.
Types ¶
type SessionReaperConfig ¶
type SessionReaperConfig interface { SessionTimeout() commonconfig.Duration SessionReaperExpiration() commonconfig.Duration }
Click to show internal directories.
Click to hide internal directories.