redis

package
v0.0.0-...-b4affad Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseRedis

func CloseRedis()

CloseRedis a

func Del

func Del(token string) error

func GetInt

func GetInt(key string) (int, error)

func GetStr

func GetStr(key string) (string, error)

func InitRedis

func InitRedis() error

InitRedis a

func Setex

func Setex(key string, timeSec int, value string) error

func UpdateExpireTime

func UpdateExpireTime(key string, timeSec int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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