Documentation ¶
Index ¶
- type NUTSDBDriver
- func (nutsdbDriver *NUTSDBDriver) Delete(key string) error
- func (nutsdbDriver *NUTSDBDriver) Get(key string) (*icbs.KeyValue, error)
- func (nutsdbDriver *NUTSDBDriver) GetList(key string, sortAscend bool) ([]*icbs.KeyValue, error)
- func (nutsdbDriver *NUTSDBDriver) InitDB() error
- func (nutsdbDriver *NUTSDBDriver) InitData() error
- func (nutsdbDriver *NUTSDBDriver) Put(key string, value string) error
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) 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.
Click to show internal directories.
Click to hide internal directories.