mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 14:57:05 +00:00
Former-commit-id: 4324e81ea94ef917ce39005b6038a6819bb63258
This commit is contained in:
@@ -210,6 +210,12 @@ func (db *Database) Acquire(sid string, expires time.Duration) (lifetime session
|
||||
return
|
||||
}
|
||||
|
||||
// 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
|
||||
}
|
||||
|
||||
func makeKey(key string) []byte {
|
||||
return []byte(key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user