Versions in this module Expand all Collapse all v1 v1.12.2 Dec 24, 2020 v1.12.1 Dec 8, 2020 Changes in this version + type Provider struct + func (mp *Provider) SessionAll() int + func (mp *Provider) SessionDestroy(sid string) error + func (mp *Provider) SessionExist(sid string) bool + func (mp *Provider) SessionGC() + func (mp *Provider) SessionInit(maxlifetime int64, savePath string) error + func (mp *Provider) SessionRead(sid string) (session.Store, error) + func (mp *Provider) SessionRegenerate(oldsid, sid string) (session.Store, error) + type SessionStore struct + func (st *SessionStore) Delete(key interface{}) error + func (st *SessionStore) Flush() error + func (st *SessionStore) Get(key interface{}) interface{} + func (st *SessionStore) SessionID() string + func (st *SessionStore) SessionRelease(w http.ResponseWriter) + func (st *SessionStore) Set(key, value interface{}) error