Versions in this module Expand all Collapse all v11 v11.1.1 Jan 16, 2019 v11.1.0 Nov 18, 2018 Changes in this version + var DefaultFileMode = 0755 + type Database struct + Service *bolt.DB + func New(path string, fileMode os.FileMode) (*Database, error) + func NewFromDB(service *bolt.DB, bucketName string) (*Database, error) + func (db *Database) Acquire(sid string, expires time.Duration) (lifetime sessions.LifeTime) + func (db *Database) Clear(sid string) + func (db *Database) Close() error + func (db *Database) Delete(sid string, key string) (deleted bool) + func (db *Database) Get(sid string, key string) (value interface{}) + func (db *Database) Len(sid string) (n int) + func (db *Database) OnUpdateExpiration(sid string, newExpires time.Duration) error + func (db *Database) Release(sid string) + func (db *Database) Set(sid string, lifetime sessions.LifeTime, key string, value interface{}, ...) + func (db *Database) Visit(sid string, cb func(key string, value interface{})) Other modules containing this package gopkg.in/kataras/iris.v10 gopkg.in/kataras/iris.v8