Versions in this module Expand all Collapse all v2 v2.0.4 Apr 20, 2020 Changes in this version + var TableName = "session" + 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