redis

package
v0.0.0-...-85027f2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBNUM_5    = 5
	DBNUM_10   = 10
	MAXRETRIES = 3
)

Variables

This section is empty.

Functions

func Setup

func Setup()

Types

type CRedisClient

type CRedisClient struct {
	Client gredis.UniversalClient
}
var DB10 *CRedisClient
var DB5 *CRedisClient

func (*CRedisClient) HmGetString

func (c *CRedisClient) HmGetString(ctx context.Context, str []interface{}) ([]string, error)

Jump to

Keyboard shortcuts

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