Documentation ¶
Index ¶
- type Store
- func (s *Store) Delete(key string) error
- func (s *Store) Get(key string) (string, error)
- func (s *Store) GetRecord(key string, out interface{}) error
- func (s *Store) Keys() ([]string, error)
- func (s *Store) Set(key string, value string) error
- func (s *Store) SetRecord(key string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store enables interaction with a database.
func (*Store) GetRecord ¶
GetRecord will read and JSON-decode the record associated with the provided key.
Click to show internal directories.
Click to hide internal directories.