//
pkg.gl
Category
github.com/snowlyg/iris
sessions
sessiondb
badger
package
8.5.9+incompatible
Repository:
https://github.com/snowlyg/iris.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
170 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.