Documentation ¶
Index ¶
- Constants
- type LocalDB
- func (l *LocalDB) Close()
- func (l *LocalDB) ListKeys() []string
- func (l *LocalDB) MultiWrite(multiData map[string][]byte) error
- func (l *LocalDB) NewSeq(memberName string) error
- func (l *LocalDB) NextSeq(memberName string) (uint64, error)
- func (l *LocalDB) Read(key string) ([]byte, error)
- func (l *LocalDB) Remove(key string) error
- func (l *LocalDB) Write(key string, data []byte) error
Constants ¶
View Source
const (
DefaultDBLocation string = "/badger/data"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalDB ¶
type LocalDB struct {
// contains filtered or unexported fields
}
func GetHandleFromLocation ¶
Click to show internal directories.
Click to hide internal directories.