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 d9b4578..c58f6ad 100644
--- a/db/db.go
+++ b/db/db.go
@@ -56,6 +56,7 @@ type Model interface {
DeleteSession(session Session) error
TouchSession(session Session) error
CheckSession(session Session) (bool, error)
+ CheckSessionId(id string) (bool, error)
CleanSessions(maxIdle time.Duration) error
AllSessions() ([]Session, error)