redisservice

package
v0.0.0-...-e31b469 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exits

func Exits(key string) (bool, *exception.Exception)

Exits :

func Get

func Get(key string) (string, *exception.Exception)

Get : Getting a value by the key.

func RefreshExpire

func RefreshExpire(key string, expire time.Duration) (bool, *exception.Exception)

RefreshExpire : Set and update the key expire.

func Set

func Set(key string, value string, expire time.Duration) (bool, *exception.Exception)

Set : Setting a key|value into the redis.

Types

This section is empty.

Jump to

Keyboard shortcuts

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