redisHelper

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

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(ring *redis.Ring, key string) (bool, error)

Check ...

func Get

func Get(ring *redis.Ring, key string, out interface{}) (err error)

Get a key

func LikeDeletes

func LikeDeletes(ring *redis.Ring, key string) error

LikeDeletes batch delete

func Set

func Set(ring *redis.Ring, key string, data interface{}, expiration time.Duration) error

Set a key/value

Types

This section is empty.

Jump to

Keyboard shortcuts

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