consts/redis.go

31 lines
864 B
Go

// Package consts ...
//
// Description : consts ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2024-10-08 16:32
package consts
const (
RedisCommandSet = "SET"
RedisCommandDel = "DEL"
RedisCommandGet = "GET"
RedisCommandMGet = "MGET"
RedisCommandMSet = "MSET"
RedisCommandLpush = "LPUSH"
RedisCommandLpop = "LPOP"
RedisCommandRpush = "RPUSH"
RedisCommandRpop = "RPOP"
RedisCommandSadd = "SADD"
RedisCommandSunionstore = "SUNIONSTORE"
RedisCommandZadd = "ZADD"
RedisCommandZincrby = "ZINCRBY"
RedisCommandPsubScribe = "PSUBSCRIBE"
RedisCommandPubsub = "PUBSUB"
RedisCommandPublish = "PUBLISH"
RedisCommandPunsubScribe = "PUNSUBSCRIBE"
RedisCommandSubscribe = "SUBSCRIBE"
RedisCommandUnsubscribe = "UNSUBSCRIBE"
)