PUBSUB implemented

This commit is contained in:
antirez
2010-03-29 11:47:58 +02:00
parent cac154c580
commit befec3cd91
2 changed files with 155 additions and 4 deletions

View File

@ -159,6 +159,9 @@ static struct redisCommand cmdTable[] = {
{"hgetall",2,REDIS_CMD_INLINE},
{"hexists",3,REDIS_CMD_BULK},
{"config",-2,REDIS_CMD_BULK},
{"subscribe",-2,REDIS_CMD_INLINE},
{"unsubscribe",-1,REDIS_CMD_INLINE},
{"publish",3,REDIS_CMD_BULK},
{NULL,0,0}
};