summaryrefslogtreecommitdiff
path: root/db/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'db/db.go')
-rw-r--r--db/db.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/db.go b/db/db.go
index 87784ff..3a48858 100644
--- a/db/db.go
+++ b/db/db.go
@@ -50,6 +50,7 @@ type Model interface {
CreateSession(user User) (Session, error)
DeleteSession(session Session) error
+ TouchSession(session Session) error
CheckSession(session Session) (bool, error)
CleanSessions(maxIdle time.Duration) error
AllSessions() ([]Session, error)