//
pkg.gl
Category
github.com/kataras/iris/v12
sessions
sessiondb
badger
package
12.2.11
Repository:
https://github.com/kataras/iris.git
Documentation:
pkg.go.dev
Versions
2
Dependencies
10
Dependents
1
Files
265 SLOC
#
Functions
New
New creates and returns a new badger(key-value file-based) storage instance based on the "directoryPath".
NewFromDB
NewFromDB same as `New` but accepts an already-created custom badger connection instead.
#
Variables
DefaultFileMode
DefaultFileMode used as the default database's "fileMode" for creating the sessions directory path, opening and write the session file.
#
Structs
Database
Database the badger(key-value file-based) session storage.