Versions in this module Expand all Collapse all v1 v1.4.1 May 3, 2026 Changes in this version + type Options struct + CleanupContext context.Context + CleanupInterval time.Duration + SkipSchemaInit bool + TableName string + type Store struct + func New(ctx context.Context, pool *postgres.Pool, opts ...Options) (*Store, error) + func (s *Store) Close() error + func (s *Store) Delete(ctx context.Context, key string) error + func (s *Store) DeletePrefix(ctx context.Context, prefix string) error + func (s *Store) Get(ctx context.Context, key string) ([]byte, error) + func (s *Store) Set(ctx context.Context, key string, value []byte, ttl time.Duration) error