Documentation ¶ Index ¶ type Store func NewStore() *Store func (s *Store) Close() error func (s *Store) Delete(key []byte) error func (s *Store) Get(key []byte) ([]byte, error) func (s *Store) Set(key []byte, value []byte) error func (s *Store) Update(key []byte, f func([]byte) ([]byte, error)) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store struct { sync.RWMutex // contains filtered or unexported fields } func NewStore ¶ func NewStore() *Store func (*Store) Close ¶ func (s *Store) Close() error func (*Store) Delete ¶ func (s *Store) Delete(key []byte) error func (*Store) Get ¶ func (s *Store) Get(key []byte) ([]byte, error) func (*Store) Set ¶ func (s *Store) Set(key []byte, value []byte) error func (*Store) Update ¶ func (s *Store) Update(key []byte, f func([]byte) ([]byte, error)) error Source Files ¶ View all Source files store.go Click to show internal directories. Click to hide internal directories.