From 1bb09b908596b93d6903ddce0e9d8c2558c9d054 Mon Sep 17 00:00:00 2001 From: deep011 Date: Wed, 7 Dec 2016 15:40:51 +0800 Subject: [PATCH] update the readme --- README.md | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/README.md b/README.md index a0dfa3d..8974193 100644 --- a/README.md +++ b/README.md @@ -160,16 +160,6 @@ redisClusterGetReply(clusterContext,&reply); // reply for GET freeReplyObject(reply); redisClusterReset(clusterContext); ``` -This API can also be used to implement a blocking subscriber: -```c -reply = redisClusterCommand(clusterContext,"SUBSCRIBE foo"); -freeReplyObject(reply); -while(redisClusterGetReply(clusterContext,&reply) == REDIS_OK) { - // consume message - freeReplyObject(reply); -} -redisClusterReset(clusterContext); -``` ## Cluster asynchronous API @@ -257,22 +247,6 @@ callbacks have been executed. After this, the disconnection callback is executed There are a few hooks that need to be set on the cluster context object after it is created. See the `adapters/` directory for bindings to *ae* and *libevent*. -## Package - -If you only want get library, you can "yum install hiredis-vip" or "apt-get install hiredis-vip" instead of building from source code. - -If you used hiredis-vip in your project, you can install "hiredis-vip-devel" package for development. - -Before install the package, execute the follow command first: - -**deb package** : `curl -s https://packagecloud.io/install/repositories/deep/packages/script.deb.sh | sudo bash` - -**rpm package** : `curl -s https://packagecloud.io/install/repositories/deep/packages/script.rpm.sh | sudo bash` - -You can also download the packages from "https://packagecloud.io/deep/packages" and install by yourself. - -If you want to support other OS packages, please contact with me. - ## AUTHORS Hiredis-vip was maintained and used at vipshop(https://github.com/vipshop).