- Add Session wrapper with typed getters (GetString, GetInt, GetBool, etc.) - Add flash message support via Pop methods (PopString, PopInt, etc.) - Add session utilities: Exists, Keys, ID, Clear, Destroy, RenewToken - Create default session manager in New() for zero-config usage - Allow custom session manager via Options.SessionManager - Wrap mux with scs LoadAndSave middleware in Start() - Add session example demonstrating login/logout with flash messages
26 lines
763 B
Modula-2
26 lines
763 B
Modula-2
module github.com/go-via/via
|
|
|
|
go 1.25.4
|
|
|
|
require maragu.dev/gomponents v1.2.0
|
|
|
|
require (
|
|
github.com/DATA-DOG/go-sqlmock v1.5.2
|
|
github.com/mattn/go-sqlite3 v1.14.32
|
|
github.com/starfederation/datastar-go v1.0.3
|
|
github.com/stretchr/testify v1.10.0
|
|
)
|
|
|
|
require (
|
|
github.com/CAFxX/httpcompression v0.0.9 // indirect
|
|
github.com/alexedwards/scs/v2 v2.9.0 // indirect
|
|
github.com/andybalholm/brotli v1.2.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/klauspost/compress v1.18.0 // indirect
|
|
github.com/kr/pretty v0.1.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|