database

package
v0.0.0-...-01f5b33 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDBEngine

func CloseDBEngine()

CloseDBEngine close the default DB Engine

func GetDBEngine

func GetDBEngine() (engine *bolt.DB, err error)

GetDBEngine return the default DB Engine; if it is not opened, it will try open

func InitBuckets

func InitBuckets(db *bolt.DB, buk []string) error

InitBuckets is a helper func to create some buckets in the opened DB

func OpenDB

func OpenDB(filename string) (err error)

OpenDB open or create a DB engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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