kv_base

package
v0.0.0-...-8e4fce1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compact_rev_KV

func Compact_rev_KV()

func DeleteKV

func DeleteKV()

func ExampleKV_do

func ExampleKV_do()

func GetKV

func GetKV(c context.Context, key string)

获取key对应的值

func GetKV_WithRev

func GetKV_WithRev(c context.Context, key string)

获取key对应的value值 带着版本号

func GetKV_WithSortedPrefix

func GetKV_WithSortedPrefix()

func PutKV_ErrorHandle

func PutKV_ErrorHandle(c context.Context, key, value string) error

错误处理 通过测试发现 : Put时,必须填写key值 value值不作为判断条件

func PutKeyValue

func PutKeyValue(c context.Context, key, value string) error

添加key value c一定不可以为空

func TXN_KV

func TXN_KV()

Types

This section is empty.

Jump to

Keyboard shortcuts

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