Add persistent session storage with SQLite

This commit is contained in:
bronku 2025-03-28 14:44:46 +01:00
parent 747d9fe3c7
commit b7072a5865
10 changed files with 135 additions and 43 deletions

8
internal/models/auth.go Normal file
View file

@ -0,0 +1,8 @@
package models
import "time"
type Token struct {
User string
Expiration time.Time
}