Versions in this module Expand all Collapse all v0 v0.3.2 Jul 1, 2021 v0.3.1 Jul 1, 2021 v0.3.0 Jul 1, 2021 v0.2.0 Jun 3, 2021 v0.1.0 Jun 2, 2021 Changes in this version + func GetRevisionKey(prefix string) string + func New(cfg *Config, logger logger.Logger, registerer prometheus.Registerer) (pluginregistry.StoragePlugin, error) + type Config struct + Addr string + DB int + Enable bool + Password string + Prefix string + func NewConfig() *Config + func (c *Config) IsEnabled() bool + func (c *Config) RegisterFlagsWithPrefix(prefix string, f *pflag.FlagSet) + func (c *Config) Validate() error + type Plugin struct + func (s *Plugin) Delete(ctx context.Context, key string) error + func (s *Plugin) GetAnnouncement() chan struct{} + func (s *Plugin) List(ctx context.Context) (map[string]string, error) + func (s *Plugin) Name() string + func (s *Plugin) Set(ctx context.Context, key string, val string) error + func (s *Plugin) Start(ctx context.Context, cancelFunc context.CancelFunc) error