Versions in this module Expand all Collapse all v1 v1.0.2 Jul 20, 2020 v1.0.0 Jul 20, 2020 Changes in this version + var ErrInvalidId = errors.New("session: invalid session id") + var ErrInvalidModified = errors.New("mongostore: invalid modified value") + func Sessions(name string, store Store) negroni.HandlerFunc + type Options struct + Domain string + HTTPOnly bool + MaxAge int + Path string + Secure bool + type Session interface + AddFlash func(value interface{}, vars ...string) + Clear func() + Delete func(key interface{}) + Flashes func(vars ...string) []interface{} + Get func(key interface{}) interface{} + Options func(Options) + Set func(key interface{}, val interface{}) + func GetSession(req *http.Request) Session + type Store interface + Options func(Options) + type TokenGetSetter interface + GetToken func(req *http.Request, name string) (string, error) + SetToken func(rw http.ResponseWriter, name, value string, options *sessions.Options) + func NewCookieToken() TokenGetSetter