Versions in this module Expand all Collapse all v4 v4.2.0 Sep 24, 2015 v4.1.0 Apr 23, 2015 Changes in this version + var ErrInvalidAccessTime = errors.New("Invalid Last Accessed Time") + var ErrInvalidID = errors.New("Invalid Session ID") + type CookieToken struct + func (c *CookieToken) GetToken(r *http.Request, name string) (string, error) + func (c *CookieToken) SetToken(w http.ResponseWriter, name, value string, options *sessions.Options) + type MongoStore struct + Codecs []securecookie.Codec + Options *sessions.Options + Token TokenGetSeter + func New(s *mgo.Session, collectionName string, options *sessions.Options, ...) *MongoStore + func (m *MongoStore) Get(r *http.Request, name string) (*sessions.Session, error) + func (m *MongoStore) GetAndUpdateAccessTime(r *http.Request, w http.ResponseWriter, name string) (*sessions.Session, error) + func (m *MongoStore) New(r *http.Request, name string) (*sessions.Session, error) + func (m *MongoStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error + type Session struct + Data string + ID bson.ObjectId + LastAccessed *time.Time + type TokenGetSeter interface + GetToken func(r *http.Request, name string) (string, error) + SetToken func(w http.ResponseWriter, name, value string, options *sessions.Options) Other modules containing this package gopkg.in/go-playground/mongostore.v1 gopkg.in/go-playground/mongostore.v2