Documentation ¶
Index ¶
- func IsInvalidConfig(err error) bool
- type Config
- type Storage
- func (s *Storage) Delete(ctx context.Context, key microstorage.K) error
- func (s *Storage) Exists(ctx context.Context, key microstorage.K) (bool, error)
- func (s *Storage) List(ctx context.Context, key microstorage.K) ([]microstorage.KV, error)
- func (s *Storage) Put(ctx context.Context, kv microstorage.KV) error
- func (s *Storage) Search(ctx context.Context, key microstorage.K) (microstorage.KV, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { Logger micrologger.Logger Underlying microstorage.Storage NewBackOffFunc func() backoff.Interface }
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) List ¶
func (s *Storage) List(ctx context.Context, key microstorage.K) ([]microstorage.KV, error)
func (*Storage) Search ¶
func (s *Storage) Search(ctx context.Context, key microstorage.K) (microstorage.KV, error)
Click to show internal directories.
Click to hide internal directories.