//
pkg.gl
Category
github.com/snowlyg/iris
sessions
sessiondb
boltdb
package
8.5.9+incompatible
Repository:
https://github.com/snowlyg/iris.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
0
Files
184 SLOC
#
Functions
New
New creates and returns a new BoltDB(file-based) storage instance based on the "path".
NewFromDB
NewFromDB same as `New` but accepts an already-created custom boltdb connection instead.
#
Variables
DefaultFileMode
DefaultFileMode used as the default database's "fileMode" for creating the sessions directory path, opening and write the session boltdb(file-based) storage.
ErrOptionsMissing
ErrOptionsMissing returned on `New` when path or tableName are empty.
#
Structs
Database
Database the BoltDB(file-based) session storage.