cbstore

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeDriver

func InitializeDriver()

InitializeDriver - NutsDB Driver 초기화

Types

type NUTSDBDriver

type NUTSDBDriver struct{}

NUTSDBDriver - NutsDB 처리 정보 구조

func (*NUTSDBDriver) Close

func (nutsdbDriver *NUTSDBDriver) Close() error

Close - NutsDB 연결 해제

func (*NUTSDBDriver) Delete

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

Delete - 지정한 키의 데이터를 NutsDB 데이터에서 삭제

func (*NUTSDBDriver) Get

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

Get - 지정한 키의 값을 NutsDB 데이터에서 추출

func (*NUTSDBDriver) GetList

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

GetList - 지정한 키와 정렬 조건을 기준으로 NustDB 데이터에서 추출

func (*NUTSDBDriver) InitDB

func (nutsdbDriver *NUTSDBDriver) InitDB() error

InitDB - Database 초기화

func (*NUTSDBDriver) InitData

func (nutsdbDriver *NUTSDBDriver) InitData() error

InitData - 데이터 초기화

func (*NUTSDBDriver) Merge added in v0.5.1

func (nutsdbDriver *NUTSDBDriver) Merge() error

func (*NUTSDBDriver) Put

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

Put - 지정한 키/값을 NutsDB 데이터로 추가

Jump to

Keyboard shortcuts

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