Versions in this module Expand all Collapse all v1 v1.5.0 Oct 9, 2024 Changes in this version + var DBFlagName = withFlagPrefix("db") + var EndpointFlagName = withFlagPrefix("endpoint") + var EvictionFlagName = withFlagPrefix("eviction") + var PasswordFlagName = withFlagPrefix("password") + func CLIFlags(envPrefix, category string) []cli.Flag + type Config struct + DB int + Endpoint string + Eviction time.Duration + Password string + Profile bool + func ReadConfig(ctx *cli.Context) Config + type Store struct + func NewStore(cfg *Config) (*Store, error) + func (r *Store) BackendType() store.BackendType + func (r *Store) Get(ctx context.Context, key []byte) ([]byte, error) + func (r *Store) Put(ctx context.Context, key []byte, value []byte) error + func (r *Store) Stats() *store.Stats + func (r *Store) Verify(_ []byte, _ []byte) error