Skip to content

Commit

Permalink
update the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
deep011 committed Dec 7, 2016
1 parent 83f437d commit 1bb09b9
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions README.md
Expand Up @@ -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

Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit 1bb09b9

Please sign in to comment.