Versions in this module Expand all Collapse all v0 v0.1.0 Jun 17, 2020 Changes in this version + type Option func(s *Store) + func Expiration(expiration time.Duration) Option + func Prefix(prefix string) Option + type Store struct + func New(client *redis.Client, opts ...Option) *Store + func (s *Store) Get(ctx context.Context, id string, clear bool) (string, error) + func (s *Store) Set(ctx context.Context, id string, value string) error