ssdb store for session
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao d5ef970ca9
update README for the issue
6 years ago
LICENSE init 7 years ago update README for the issue 6 years ago
ssdb.go init 7 years ago
ssdb_test.go init 7 years ago

session-ssdb Build Status

Session-ssdb is a store of session middleware for Tango stored session data via ssdb.

Known issue



go get

Simple Example

package main

import (

type SessionAction struct {

func (a *SessionAction) Get() string {
    a.Session.Set("test", "1")
    return a.Session.Get("test").(string)

func main() {
    o := tango.Classic()
    store, err := ssdbstore.New(redistore.Options{
            Host:    "",
            DbIndex: 0,
            MaxAge:  30 * time.Minute,
        Store: store),
    o.Get("/", new(SessionAction))

Getting Help


This project is under BSD License. See the LICENSE file for the full license text.