Versions in this module Expand all Collapse all v1 v1.0.1 Apr 20, 2023 v1.0.0 Sep 4, 2020 Changes in this version + type RAMSessions struct + func NewRAMSessions(maxAge int) *RAMSessions + func (r *RAMSessions) AsPoller() SessionData + func (r *RAMSessions) Get(id string) map[interface{}]interface{} + func (r *RAMSessions) GetData(id string) (map[interface{}]interface{}, error) + func (r *RAMSessions) Poll(id string) map[interface{}]interface{} + func (r *RAMSessions) Purge() + func (r *RAMSessions) Save(id string, data map[interface{}]interface{}) + func (r *RAMSessions) SaveData(id string, data map[interface{}]interface{}) error + type RAMStore struct + Data *RAMSessions + Options *sessions.Options + SData SessionData + func NewRAMStore(maxAge int) *RAMStore + func (s *RAMStore) Get(r *http.Request, name string) (*sessions.Session, error) + func (s *RAMStore) New(r *http.Request, name string) (*sessions.Session, error) + func (s *RAMStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error + type SessionData interface + GetData func(id string) (map[interface{}]interface{}, error) + SaveData func(id string, values map[interface{}]interface{}) error