Skip to content

SQLite session store implementation for sessionup

License

Notifications You must be signed in to change notification settings

Hyzual/sessionup-sqlitestore

Repository files navigation

sessionup-sqlitestore

CI pipeline codecov Go Report Card GoDoc

SQLite session store implementation for sessionup

Installation

go get github.com/hyzual/sessionup-sqlitestore

Usage

db, err := sql.Open("sqlite3", "...")
if err != nil {
    // handle error
}

store, err := sqlitestore.New(db, "sessions", time.Minute * 5)
if err != nil {
    // handle error
}

manager := sessionup.NewManager(store)

About

SQLite session store implementation for sessionup

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages