abkleveldb

package
v1.0.1-0...-c38ed9a Latest Latest
Warning

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

Go to latest
Published: May 21, 2015 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAndDeleteDB

func CloseAndDeleteDB(dbpath string, db *levigo.DB)

CloseAndDeleteDB closes and deletes a db given handle and dbpath. Useful in use and throw implementations. And also tests.

func CreateDB

func CreateDB(dbpath string) *levigo.DB

CreateDB creates a db at provided dbpath.

func DelKey

func DelKey(key string, db *levigo.DB) bool

DelKey deletes key from provided DB handle.

func GetVal

func GetVal(key string, db *levigo.DB) string

GetVal gets value of Key from provided db handle.

func PushKeyVal

func PushKeyVal(key string, val string, db *levigo.DB) bool

PushKeyVal push KeyVal in provided DB handle.

Types

This section is empty.

Jump to

Keyboard shortcuts

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