diff --git a/redis.go b/redis.go new file mode 100644 index 0000000..67d99e1 --- /dev/null +++ b/redis.go @@ -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" +)