Versions in this module Expand all Collapse all v1 v1.26.29 Jul 31, 2026 v1.26.27 Jul 31, 2026 Changes in this version + type PostgresProvider struct + func (p *PostgresProvider) Count() (total int, err error) + func (p *PostgresProvider) Destroy(sid string) error + func (p *PostgresProvider) Exist(sid string) (bool, error) + func (p *PostgresProvider) GC() + func (p *PostgresProvider) Init(maxlifetime int64, connStr string) (err error) + func (p *PostgresProvider) Read(sid string) (session.RawStore, error) + func (p *PostgresProvider) Regenerate(oldsid, sid string) (_ session.RawStore, err error) + type PostgresStore struct + func NewPostgresStore(c *sql.DB, sid string, kv map[interface{}]interface{}) *PostgresStore + func (s *PostgresStore) Delete(key interface{}) error + func (s *PostgresStore) Flush() error + func (s *PostgresStore) Get(key interface{}) interface{} + func (s *PostgresStore) ID() string + func (s *PostgresStore) Release() error + func (s *PostgresStore) Set(key, value interface{}) error