sdb

package
v0.0.0-...-24c25ff Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2015 License: GPL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *bolt.DB

Functions

func Delete

func Delete(bucket, key string) (err error)

func DeleteBucket

func DeleteBucket(bucket string) (err error)

func Get

func Get(bucket, key string) (result []byte, err error)

func GetAll

func GetAll(bucket string) (result [][]byte, err error)

func GetAllKeys

func GetAllKeys(bucket string) (data []string, err error)

func GetAllWithKeys

func GetAllWithKeys(bucket string) (result map[string][]byte, err error)

func GetStatsForBucket

func GetStatsForBucket(bucket string) (stat bolt.BucketStats)

func NewUUIDv4

func NewUUIDv4() string

func Opened

func Opened() bool

func Save

func Save(bucket, key string, value interface{}) (err error)

func Set

func Set(bucket, key string, value []byte) (err error)

Types

type M

type M map[string]interface{}

Jump to

Keyboard shortcuts

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