db

package
v0.0.0-...-b5461cd Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBucket

func CreateBucket(bucketName []byte) error

Creates the bucket ...

func CreateTxn

func CreateTxn(dataSlice [][]byte, bucketName string)

Create the db transaction ...

func DeleteBucket

func DeleteBucket(bucketName []byte) error

Removes the bucket ...

func Init

func Init(dbPath string) error

Connect with bolt db ...

func ViewTxn

func ViewTxn(bucketType string) []*models.Record

View the transaction ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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