nxdb

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(set, key, objID string) error

Delete deletes key from redis nxdb

func Exists

func Exists(key string) (bool, error)

Exists checks whether a key exists on redis nxdb

func Get

func Get(set, key, objID string, value interface{}) error

Get gets the value of a key from redis nxdb

func List

func List(set string) ([]string, error)

List gets all set members from redis nxdb

func Lock

func Lock(ctrlID, objID string) bool

func LocksCleanUp

func LocksCleanUp(ctrlID string) error

func Set

func Set(set, key, objID string, value interface{}) error

Set sets key-value on redis nxdb

func Unlock

func Unlock(ctrlID, objID string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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