diff --git a/redis.go b/redis.go index 17b61a2..52b2725 100644 --- a/redis.go +++ b/redis.go @@ -22,30 +22,35 @@ func (rc RedisCmd) MarshalBinary() ([]byte, error) { } const ( - RedisCommandExists RedisCmd = "EXISTS" - RedisCommandTTL RedisCmd = "TTL" - RedisCommandSet RedisCmd = "SET" - RedisCommandDel RedisCmd = "DEL" - RedisCommandGet RedisCmd = "GET" - RedisCommandHget RedisCmd = "HGET" - RedisCommandHset RedisCmd = "HSET" - RedisCommandHdel RedisCmd = "HDEL" - RedisCommandMGet RedisCmd = "MGET" - RedisCommandMSet RedisCmd = "MSET" - RedisCommandLpush RedisCmd = "LPUSH" - RedisCommandLpop RedisCmd = "LPOP" - RedisCommandRpush RedisCmd = "RPUSH" - RedisCommandRpop RedisCmd = "RPOP" - RedisCommandBrpop RedisCmd = "BRPOP" - RedisCommandBlpop RedisCmd = "BLPOP" - RedisCommandSadd RedisCmd = "SADD" - RedisCommandSunionstore RedisCmd = "SUNIONSTORE" - RedisCommandZadd RedisCmd = "ZADD" - RedisCommandZincrby RedisCmd = "ZINCRBY" - RedisCommandPsubScribe RedisCmd = "PSUBSCRIBE" - RedisCommandPubsub RedisCmd = "PUBSUB" - RedisCommandPublish RedisCmd = "PUBLISH" - RedisCommandPunsubScribe RedisCmd = "PUNSUBSCRIBE" - RedisCommandSubscribe RedisCmd = "SUBSCRIBE" - RedisCommandUnsubscribe RedisCmd = "UNSUBSCRIBE" + RedisCommandExists RedisCmd = "EXISTS" + RedisCommandTTL RedisCmd = "TTL" + RedisCommandSet RedisCmd = "SET" + RedisCommandDel RedisCmd = "DEL" + RedisCommandGet RedisCmd = "GET" + RedisCommandHget RedisCmd = "HGET" + RedisCommandHset RedisCmd = "HSET" + RedisCommandHdel RedisCmd = "HDEL" + RedisCommandMGet RedisCmd = "MGET" + RedisCommandMSet RedisCmd = "MSET" + RedisCommandLpush RedisCmd = "LPUSH" + RedisCommandLpop RedisCmd = "LPOP" + RedisCommandRpush RedisCmd = "RPUSH" + RedisCommandRpop RedisCmd = "RPOP" + RedisCommandBrpop RedisCmd = "BRPOP" + RedisCommandBlpop RedisCmd = "BLPOP" + RedisCommandSadd RedisCmd = "SADD" + RedisCommandSunionstore RedisCmd = "SUNIONSTORE" + RedisCommandZadd RedisCmd = "ZADD" + RedisCommandZincrby RedisCmd = "ZINCRBY" + RedisCommandPsubScribe RedisCmd = "PSUBSCRIBE" + RedisCommandPubsub RedisCmd = "PUBSUB" + RedisCommandPublish RedisCmd = "PUBLISH" + RedisCommandPunsubScribe RedisCmd = "PUNSUBSCRIBE" + RedisCommandSubscribe RedisCmd = "SUBSCRIBE" + RedisCommandUnsubscribe RedisCmd = "UNSUBSCRIBE" + RedisCommandZrangeByScore RedisCmd = "ZRANGEByScore" + RedisCommandZRemRangeByScore RedisCmd = "ZRemRangeByScore" + RedisCommandDecr RedisCmd = "DECR" + RedisCommandIncr RedisCmd = "INCR" + RedisCommandXAdd RedisCmd = "XADD" )