mirror of
https://github.com/kataras/iris.git
synced 2025-12-24 05:17:03 +00:00
Former-commit-id: 4324e81ea94ef917ce39005b6038a6819bb63258
This commit is contained in:
@@ -102,6 +102,12 @@ func (db *Database) Acquire(sid string, expires time.Duration) sessions.LifeTime
|
||||
return sessions.LifeTime{} // session manager will handle the rest.
|
||||
}
|
||||
|
||||
// OnUpdateExpiration not implemented here, yet.
|
||||
// Note that this error will not be logged, callers should catch it manually.
|
||||
func (db *Database) OnUpdateExpiration(sid string, newExpires time.Duration) error {
|
||||
return sessions.ErrNotImplemented
|
||||
}
|
||||
|
||||
var delim = byte('_')
|
||||
|
||||
func makePrefix(sid string) []byte {
|
||||
|
||||
Reference in New Issue
Block a user