增加redis命令枚举值
This commit is contained in:
parent
c865046cd9
commit
0b1c661317
30
redis.go
Normal file
30
redis.go
Normal file
@ -0,0 +1,30 @@
|
||||
// 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"
|
||||
)
|
Loading…
Reference in New Issue
Block a user