cache

package
v0.0.0-...-cead0cf Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//RankKey 每日排名
	RankKey = "rank"
	//ElectricalRank 家电排名
	ElectricalRank = "elecRank"
	//AccessoryRank 配件排名
	AccessoryRank = "acceRank"
)

Variables

View Source
var (
	RedisClient *redis.Client
	RedisDb     string
	RedisAddr   string
	RedisPw     string
	RedisDbName string
)

Functions

func LoadRedisData

func LoadRedisData(file *ini.File)

func ProductViewKey

func ProductViewKey(id uint) string

func Redis

func Redis()

Types

This section is empty.

Jump to

Keyboard shortcuts

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