Versions in this module Expand all Collapse all v1 v1.8.12 Jul 4, 2018 Changes in this version + var ErrInvalidArgument = errors.New("ErrorInvalidArgument") + var ErrNotFound = errors.New("ErrorNotFound") + type DBStore struct + func NewDBStore(path string) (s *DBStore, err error) + func (s *DBStore) Close() error + func (s *DBStore) Delete(key string) (err error) + func (s *DBStore) Get(key string, i interface{}) (err error) + func (s *DBStore) Put(key string, i interface{}) (err error) + type InmemoryStore struct + func NewInmemoryStore() *InmemoryStore + func (s *InmemoryStore) Close() error + func (s *InmemoryStore) Delete(key string) (err error) + func (s *InmemoryStore) Get(key string, i interface{}) (err error) + func (s *InmemoryStore) Put(key string, i interface{}) (err error) + type Store interface + Close func() error + Delete func(key string) (err error) + Get func(key string, i interface{}) (err error) + Put func(key string, i interface{}) (err error)