Versions in this module Expand all Collapse all v2 v2.0.4 Dec 27, 2024 v2.0.2 Dec 27, 2024 Changes in this version + type FakeStore struct + func NewFakeStore() *FakeStore + func (f *FakeStore) Get(key string) (string, error) + func (f *FakeStore) Range(pattern string) ([]string, error) + func (f *FakeStore) RangeRemove(pattern string) error + func (f *FakeStore) Remove(key string) error + func (f *FakeStore) Set(key string, value string) error + type FileStore struct + func (s *FileStore) Get(key string) (string, error) + func (s *FileStore) Range(pattern string) ([]string, error) + func (s *FileStore) RangeRemove(pattern string) error + func (s *FileStore) Remove(key string) error + func (s *FileStore) Set(key string, value string) error + type Store interface + Get func(key string) (string, error) + Range func(pattern string) ([]string, error) + RangeRemove func(pattern string) error + Remove func(key string) error + Set func(key string, value string) error + func NewFileStore(path string) (Store, error)