redis

package
v0.0.0-...-7c20d64 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Redis_Client   *redis.Client
	Redis_URL      string
	Redis_Password string
)

Functions

func Initiate_Redis

func Initiate_Redis()

func Redis_Check_Key

func Redis_Check_Key(key string) bool

func Redis_Delete_key

func Redis_Delete_key(key string) bool

func Redis_Get_Value

func Redis_Get_Value(key string) string

returns string

func Redis_Set_Value

func Redis_Set_Value(key string, value string) bool

func Redis_Set_Value_With_Timeout

func Redis_Set_Value_With_Timeout(key string, value string, timeout int) bool

Use 5 minutes for OTP login

Types

This section is empty.

Jump to

Keyboard shortcuts

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