Documentation
¶
Index ¶
- func DeleteKey(db *badger.DB, key string) error
- func FetchKey(db *badger.DB, key string) ([]byte, error)
- func GetKeyValuesWithPrefix(db *badger.DB, prefix string) (map[string][]byte, error)
- func GetKeysWithPrefix(db *badger.DB, prefix string) ([]string, error)
- func OpenDB(dbPath string) (*badger.DB, error)
- func SetKey(db *badger.DB, key string, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeyValuesWithPrefix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.