Versions in this module Expand all Collapse all v1 v1.0.0 Jul 3, 2026 Changes in this version + type MemoryStore struct + func NewMemoryStore() *MemoryStore + func (s *MemoryStore) Close() error + func (s *MemoryStore) Delete(_ context.Context, id string) error + func (s *MemoryStore) Get(_ context.Context, id string) (map[string]any, error) + func (s *MemoryStore) Regenerate(ctx context.Context, oldID string) (string, error) + func (s *MemoryStore) Set(_ context.Context, id string, data map[string]any, ttl time.Duration) error + type Redis struct + func NewRedis(url string) (*Redis, error) + func NewRedisFromClient(c *redis.Client) *Redis + func (r *Redis) Close() error + func (r *Redis) Delete(ctx context.Context, id string) error + func (r *Redis) Get(ctx context.Context, id string) (map[string]any, error) + func (r *Redis) Regenerate(ctx context.Context, oldID string) (string, error) + func (r *Redis) Set(ctx context.Context, id string, data map[string]any, ttl time.Duration) error