From fd994ce631ce7244157f81678574e6bc420d0fcc Mon Sep 17 00:00:00 2001 From: sanine-a Date: Wed, 10 May 2023 12:18:57 -0500 Subject: implement user logins and gatekeeping --- 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 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) -- cgit v1.2.1