Versions in this module Expand all Collapse all v1 v1.1.0 Nov 14, 2020 v1.0.1 Nov 11, 2020 Changes in this version + var ErrInvalidBucket = errors.New("invalid bucket name") + var ErrInvalidInterval = errors.New("invalid cleanup interval") + type BoltStore struct + func New(db *bolt.DB, bucket string, cleanupInterval time.Duration) (*BoltStore, error) + func (b *BoltStore) Close() error + func (b *BoltStore) Create(_ context.Context, s sessionup.Session) error + func (b *BoltStore) DeleteByID(_ context.Context, id string) error + func (b *BoltStore) DeleteByUserKey(_ context.Context, key string, expIDs ...string) error + func (b *BoltStore) FetchByID(_ context.Context, id string) (sessionup.Session, bool, error) + func (b *BoltStore) FetchByUserKey(_ context.Context, key string) ([]sessionup.Session, error) + func (b BoltStore) CleanupErr() <-chan error