Versions in this module Expand all Collapse all v1 v1.1.3 Jan 15, 2021 Changes in this version + type Options struct + SkipCreateTable bool + TableName string + type Store struct + Codecs []securecookie.Codec + SessionOpts *sessions.Options + func New(db *gorm.DB, keyPairs ...[]byte) *Store + func NewOptions(db *gorm.DB, opts Options, keyPairs ...[]byte) *Store + func (st *Store) Cleanup() + func (st *Store) Get(r *http.Request, name string) (*sessions.Session, error) + func (st *Store) MaxAge(age int) + func (st *Store) MaxLength(l int) + func (st *Store) New(r *http.Request, name string) (*sessions.Session, error) + func (st *Store) PeriodicCleanup(interval time.Duration, quit <-chan struct{}) + func (st *Store) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error