• v0.1.0 9a23188973

    feat: add cookie-based session support using alexedwards/scs (#1)

    ryan released this 2026-01-09 16:59:26 +00:00 | 65 commits to main since this release

    • 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
    Downloads