Use SQLite for session storage
Upgrade via to v0.2.5 and switch from in-memory sessions to SQLite-backed sessions for persistence across server restarts.
This commit is contained in:
3
go.mod
3
go.mod
@@ -5,13 +5,14 @@ go 1.25.4
|
||||
require (
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/pressly/goose/v3 v3.26.0
|
||||
github.com/ryanhamamura/via v0.2.4
|
||||
github.com/ryanhamamura/via v0.2.5
|
||||
golang.org/x/crypto v0.47.0
|
||||
modernc.org/sqlite v1.44.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/CAFxX/httpcompression v0.0.9 // indirect
|
||||
github.com/alexedwards/scs/sqlite3store v0.0.0-20251002162104-209de6e426de // indirect
|
||||
github.com/alexedwards/scs/v2 v2.9.0 // indirect
|
||||
github.com/andybalholm/brotli v1.2.0 // indirect
|
||||
github.com/dustin/go-humanize v1.0.1 // indirect
|
||||
|
||||
Reference in New Issue
Block a user