Versions in this module Expand all Collapse all v1 v1.12.5 Jul 9, 2021 Changes in this version + type Provider struct + func (cp *Provider) SessionAll() int + func (cp *Provider) SessionDestroy(sid string) error + func (cp *Provider) SessionExist(sid string) bool + func (cp *Provider) SessionGC() + func (cp *Provider) SessionInit(maxlifetime int64, savePath string) error + func (cp *Provider) SessionRead(sid string) (session.Store, error) + func (cp *Provider) SessionRegenerate(oldsid, sid string) (session.Store, error) + type SessionStore struct + func (cs *SessionStore) Delete(key interface{}) error + func (cs *SessionStore) Flush() error + func (cs *SessionStore) Get(key interface{}) interface{} + func (cs *SessionStore) SessionID() string + func (cs *SessionStore) SessionRelease(w http.ResponseWriter) + func (cs *SessionStore) Set(key, value interface{}) error