Documentation
¶
Index ¶
- Variables
- type Store
- func (s *Store) Close() error
- func (s *Store) Count(group string) (int, error)
- func (s *Store) Delete(group, key string) error
- func (s *Store) DeleteGroup(group string) error
- func (s *Store) Get(group, key string) (string, error)
- func (s *Store) GetAll(group string) (map[string]string, error)
- func (s *Store) Render(tmplStr, group string) (string, error)
- func (s *Store) Set(group, key, value string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("store: not found")
ErrNotFound is returned when a key does not exist in the store.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a group-namespaced key-value store backed by SQLite.
func (*Store) DeleteGroup ¶
DeleteGroup removes all keys in a group.
Click to show internal directories.
Click to hide internal directories.