boltdb

package
v0.0.0-...-ab4a820 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltdbStore

type BoltdbStore struct {
	FileName string
	api.Handler
}

func (BoltdbStore) AddValue

func (store BoltdbStore) AddValue(bucket string, key []byte, value []byte) error

func (BoltdbStore) AddValueCompress

func (store BoltdbStore) AddValueCompress(bucket string, key []byte, value []byte) error

func (BoltdbStore) Close

func (store BoltdbStore) Close() error

func (BoltdbStore) Count

func (store BoltdbStore) Count(o interface{}) (int, error)

func (BoltdbStore) Delete

func (store BoltdbStore) Delete(o interface{}) error

func (BoltdbStore) DeleteBucket

func (store BoltdbStore) DeleteBucket(bucket string) error

func (BoltdbStore) DeleteKey

func (store BoltdbStore) DeleteKey(bucket string, key []byte) error

func (BoltdbStore) Get

func (store BoltdbStore) Get(key string, value interface{}, to interface{}) error

func (BoltdbStore) GetCompressedValue

func (store BoltdbStore) GetCompressedValue(bucket string, key []byte) ([]byte, error)

func (BoltdbStore) GetValue

func (store BoltdbStore) GetValue(bucket string, key []byte) ([]byte, error)

func (BoltdbStore) Open

func (store BoltdbStore) Open() error

func (BoltdbStore) Save

func (store BoltdbStore) Save(o interface{}) error

func (BoltdbStore) Search

func (s BoltdbStore) Search(t1, t2 interface{}, q1 *orm.Query) (error, orm.Result)

func (BoltdbStore) Update

func (store BoltdbStore) Update(o interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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