The highest tagged major version is
v3 .
Discover Packages
gopkg.in/kataras/go-sessions.v0
sessiondb
directory
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Dec 29, 2016
License: MIT
Opens a new window with license information.
README
README
¶
This repository contains the built'n session databases for the go-sessions .
How to Register?
//...
import (
"github.com/kataras/go-sessions"
"github.com/kataras/go-sessions/sessiondb/$FOLDER"
)
//...
db := $FOLDER.New($FOLDER.Config{})
//...
manager:= sessions.New(sessions.Config{})
manager.UseDatabase(db)
//...
Note: You can use more than one database to save the session values, but the initial data will come from the first non-empty Load
, look inside code for more information on how to create your own session database.
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.