Versions in this module Expand all Collapse all v1 v1.0.0 Nov 18, 2021 Changes in this version + type Config struct + Valid time.Duration + type Listener struct + Created sessionListener + Destroyed sessionListener + Invalidated sessionListener + Refreshed sessionListener + type Provider interface + Clean func(config *Config, listener *Listener) + Clear func() + CookieName func() string + Del func(id string) + Exists func(id string) bool + Get func(id string) Session + GetAll func() map[string]Session + GetId func(r *http.Request) string + New func(config *Config, listener *Listener) Session + Refresh func(session Session, config *Config, listener *Listener) + type Session interface + Clear func() + Del func(name string) + Get func(name string) interface{} + GetAll func() map[string]interface{} + Id func() string + Invalidate func() + Invalidated func() bool + Renew func(lifeTime time.Duration) + Set func(name string, val interface{}) + SetAll func(data map[string]interface{}, flush bool)