database

package
v0.0.0-...-386ff76 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteInKVDB

func DeleteInKVDB(ctx *generic.Context, key string)

DeleteInKVDB deletes the key specified in database

func GetExactFromKVDB

func GetExactFromKVDB(ctx *generic.Context, key string) string

GetExactFromKVDB gets specific value which matches exact string

func GetMultipleWithPrefixFromKVDB

func GetMultipleWithPrefixFromKVDB(ctx *generic.Context, keyprefix string) []string

GetMultipleWithPrefixFromKVDB gets multiple values whose keys match specified prefix in database

func HandleError

func HandleError(ctx *generic.Context, err error)

func KeyExistsInKVDB

func KeyExistsInKVDB(ctx *generic.Context, key string) bool

KeyExistsInKVDB checks if paticular key not in DB

func SaveinKVDB

func SaveinKVDB(ctx *generic.Context, key string, data string)

SaveinKVDB saved specified key value pair in database

Types

This section is empty.

Jump to

Keyboard shortcuts

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