boltdb

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltDB

type BoltDB struct {
	// contains filtered or unexported fields
}

func NewBoltDB

func NewBoltDB(filePath string) (*BoltDB, error)

func (*BoltDB) BucketIsCreate

func (b *BoltDB) BucketIsCreate() bool

func (*BoltDB) Close

func (b *BoltDB) Close()

func (*BoltDB) CreateBucket

func (b *BoltDB) CreateBucket(name string) error

func (*BoltDB) DeleteBucket

func (b *BoltDB) DeleteBucket(name string) error

func (*BoltDB) DeleteKey

func (b *BoltDB) DeleteKey(key string) error

func (*BoltDB) GetAllValue

func (b *BoltDB) GetAllValue()

func (*BoltDB) GetValueFromBucket

func (b *BoltDB) GetValueFromBucket(key string) error

func (*BoltDB) Message

func (b *BoltDB) Message() []entity.Message

func (*BoltDB) NameBucket

func (b *BoltDB) NameBucket() string

func (*BoltDB) Path

func (b *BoltDB) Path() string

func (*BoltDB) ReOpen

func (b *BoltDB) ReOpen() error

func (*BoltDB) SetDB

func (b *BoltDB) SetDB(db *bolt.DB)

func (*BoltDB) SetMessage

func (b *BoltDB) SetMessage(m []entity.Message)

func (*BoltDB) SetNameBucket

func (b *BoltDB) SetNameBucket(name string)

func (*BoltDB) Store

func (b *BoltDB) Store(key, value string) error

func (*BoltDB) StoreBulk

func (b *BoltDB) StoreBulk(result []entity.Message) error

Jump to

Keyboard shortcuts

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