Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
This section is empty.
Types ¶
type BadgerDBStore ¶
type BadgerDBStore struct {
// contains filtered or unexported fields
}
TODO(AD) RunValueLogGC
func (*BadgerDBStore) Close ¶
func (s *BadgerDBStore) Close() error
func (*BadgerDBStore) Delete ¶
func (s *BadgerDBStore) Delete(k []byte) error
type InMemoryStore ¶
type InMemoryStore struct {
// contains filtered or unexported fields
}
InMemoryStore implements Store using a simple in memory map. This should be only used for testing and development not production use.
func (*InMemoryStore) Close ¶
func (s *InMemoryStore) Close() error
func (*InMemoryStore) Delete ¶
func (s *InMemoryStore) Delete(k []byte) error
Delete removes the given key if it exists.
Click to show internal directories.
Click to hide internal directories.