cbstore

package
v0.0.0-...-9c72d28 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NUTSDBDriver

type NUTSDBDriver struct{}

func (*NUTSDBDriver) Delete

func (nutsdbDriver *NUTSDBDriver) Delete(key string) error

func (*NUTSDBDriver) Get

func (nutsdbDriver *NUTSDBDriver) Get(key string) (*icbs.KeyValue, error)

func (*NUTSDBDriver) GetList

func (nutsdbDriver *NUTSDBDriver) GetList(key string, sortAscend bool) ([]*icbs.KeyValue, error)

func (*NUTSDBDriver) InitDB

func (nutsdbDriver *NUTSDBDriver) InitDB() error

If InitDB will be done online by other process, this is not effective until restart.

func (*NUTSDBDriver) InitData

func (nutsdbDriver *NUTSDBDriver) InitData() error

1. get All data 2. delete All data If InitDB will be done online by other process, this is not effective until restart.

func (*NUTSDBDriver) Put

func (nutsdbDriver *NUTSDBDriver) Put(key string, value string) error

Jump to

Keyboard shortcuts

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