cache

package
v0.0.0-...-2ab4f66 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseBoltDB

func CloseBoltDB()

CloseBoltDB ...

func CreateBoltDB

func CreateBoltDB(p string) error

CreateBoltDB ...

func GetBucketValues

func GetBucketValues(name string) (string, error)

GetBucketValues returns a string representation of the provided bucket

func GetDB

func GetDB() *bolt.DB

GetDB use only on tests

func GetSimpleValue

func GetSimpleValue(k string) error

GetSimpleValue retrieve a simple string value

func InsertBucketValue

func InsertBucketValue(name string, v map[string]interface{}) error

InsertBucketValue create a bucket with the provided name and add the provided value

func InsertComplexValue

func InsertComplexValue(name string, cv string) error

InsertComplexValue create a bucket with the provided name. The values are represented by a []string

func InsertSimpleValue

func InsertSimpleValue(b, k, v string) error

InsertSimpleValue creaate or update some value

Types

This section is empty.

Jump to

Keyboard shortcuts

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