Documentation
¶
Index ¶
- func GenerateKey() string
- type Item
- type Store
- func (s *Store) Delete(Key string)
- func (s *Store) Get(Key string) (Value interface{}, ok bool)
- func (s *Store) GetAll() []Item
- func (s *Store) Has(Key string) bool
- func (s *Store) Insert(Key string, Value interface{})
- func (s *Store) LoadFromDisk(filename string) error
- func (s *Store) SaveToDisk(filename string) error
- func (s *Store) Update(Key string, Value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
func GenerateKey() string
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) LoadFromDisk ¶
Custom deserialization function
func (*Store) SaveToDisk ¶
Click to show internal directories.
Click to hide internal directories.