Versions in this module Expand all Collapse all v1 v1.13.1 Nov 26, 2019 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 v1.3.0 Jun 19, 2014 Changes in this version + type MysqlProvider struct + func (mp *MysqlProvider) SessionAll() int + func (mp *MysqlProvider) SessionDestroy(sid string) error + func (mp *MysqlProvider) SessionExist(sid string) bool + func (mp *MysqlProvider) SessionGC() + func (mp *MysqlProvider) SessionInit(maxlifetime int64, savePath string) error + func (mp *MysqlProvider) SessionRead(sid string) (session.SessionStore, error) + func (mp *MysqlProvider) SessionRegenerate(oldsid, sid string) (session.SessionStore, error) + type MysqlSessionStore struct + func (st *MysqlSessionStore) Delete(key interface{}) error + func (st *MysqlSessionStore) Flush() error + func (st *MysqlSessionStore) Get(key interface{}) interface{} + func (st *MysqlSessionStore) SessionID() string + func (st *MysqlSessionStore) SessionRelease(w http.ResponseWriter) + func (st *MysqlSessionStore) Set(key, value interface{}) error