storage

package
v0.0.0-...-94763f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(databasePath string, key []byte) ([]byte, error)

func GetDatabase

func GetDatabase(path string) (*bitcask.Bitcask, error)

func GetKeys

func GetKeys(databasePath string) ([][]byte, error)

func GetKeysWithDb

func GetKeysWithDb(db *bitcask.Bitcask) ([][]byte, error)

func GetWithDb

func GetWithDb(db *bitcask.Bitcask, key []byte) ([]byte, error)

func Put

func Put(databasePath string, key, value []byte) error

func PutWithDb

func PutWithDb(db *bitcask.Bitcask, key, value []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL