Versions in this module Expand all Collapse all v0 v0.0.3 Apr 2, 2020 v0.0.2 Mar 19, 2020 Changes in this version + type DBStore struct + func NewDBStore(db *sqlx.DB) DBStore + func (s DBStore) Close() error + func (s DBStore) CreateSession(accountID string, sessionKey string, expirationDuration time.Duration) error + func (s DBStore) DeleteSession(sessionKey string) error + func (s DBStore) ExtendAndFetchSession(sessionKey string, expirationDuration time.Duration) (domain.Session, error) + func (s DBStore) FetchPossiblyExpiredSession(accountID string) (domain.Session, error)