From ad6a617c12d9b341be1357dcbb6ab58febe32ee8 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Tue, 2 May 2023 14:20:21 -0500 Subject: add TouchSession --- db/db.go | 1 + 1 file changed, 1 insertion(+) (limited to 'db/db.go') 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) -- cgit v1.2.1