36 lines
1.0 KiB
Go
36 lines
1.0 KiB
Go
// Package consts ...
|
|
//
|
|
// Description : consts ...
|
|
//
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
//
|
|
// Date : 2024-10-08 16:32
|
|
package consts
|
|
|
|
const (
|
|
RedisCommandExists = "EXISTS"
|
|
RedisCommandTTL = "TTL"
|
|
RedisCommandSet = "SET"
|
|
RedisCommandDel = "DEL"
|
|
RedisCommandGet = "GET"
|
|
RedisCommandHget = "HGET"
|
|
RedisCommandHset = "HSET"
|
|
RedisCommandHdel = "HDEL"
|
|
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"
|
|
)
|