Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFound = errors.New("key not found in store")
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { Retrieve(Key) (any, error) // Store a new session Put(Session) error // Remove session Erase(Key) error // Refresh the expire of these sessions UpdateExpiration(...Session) error // Remove stale sessions CollectExpired() error }
Store represent the long time storage backing for sessions
Click to show internal directories.
Click to hide internal directories.