redis

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Redisclient *goRedis.Client

Redisclient 全局redis客户端

Functions

This section is empty.

Types

type InitRedisReq

type InitRedisReq struct {
	Addr string `json:"addr"` // Addr redis服务host
	Port int    `json:"port"` // Port redis服务port
	Pwd  string `json:"pwd"`  // Pwd redis服务密码
	Db   int    `json:"db"`   // Db redis服务数据库
}

InitRedisReq 请求参数

func (*InitRedisReq) InitRedis

func (h *InitRedisReq) InitRedis()

InitRedis 初始化redis连接

Jump to

Keyboard shortcuts

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