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