Versions in this module Expand all Collapse all v1 v1.0.1 Aug 16, 2019 Changes in this version + type PgStore struct + func New(db *sql.DB, tName string, d time.Duration) (*PgStore, error) + func (p *PgStore) CleanupErr() <-chan error + func (p *PgStore) Create(ctx context.Context, s sessionup.Session) error + func (p *PgStore) DeleteByID(ctx context.Context, id string) error + func (p *PgStore) DeleteByUserKey(ctx context.Context, key string, expID ...string) error + func (p *PgStore) FetchByID(ctx context.Context, id string) (sessionup.Session, bool, error) + func (p *PgStore) FetchByUserKey(ctx context.Context, key string) ([]sessionup.Session, error) + func (p *PgStore) StopCleanup()