database

package
v0.0.0-...-f8fee01 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheLookUp

func CacheLookUp(key string) string

CacheLookUp checks if the given value exists in the cache, returns the value if it exists

func RedisConnectionCheck

func RedisConnectionCheck()

RedisConnectionCheck checks if the redis server is up and running

func ReleaseLock

func ReleaseLock(key string)

ReleaseLock releases the lock on the given key

func SetCache

func SetCache(key string, value any)

SetCache store the given value in redis

func SetLock

func SetLock(key string) bool

SetLock sets a lock on the given key

Types

This section is empty.

Jump to

Keyboard shortcuts

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