diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-07-11 22:09:54 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 01:04:12 +0300 |
commit | 65947466164f08460055d71484f9916542bbe9da (patch) | |
tree | 8eb11875962657188ebc51587a2ab95ea41ca192 /redis_cluster.h | |
parent | 265837230d5fa52a07d1bfcbfa40affc521460ef (diff) |
ECHO command
Implemented the ECHO command for cluster, which like other commands
where you send to a specific node, can be done either by sending
"at" a key, or by sending to a host/port
Diffstat (limited to 'redis_cluster.h')
-rw-r--r-- | redis_cluster.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redis_cluster.h b/redis_cluster.h index 66d88d63..c79928d6 100644 --- a/redis_cluster.h +++ b/redis_cluster.h @@ -243,7 +243,7 @@ PHP_METHOD(RedisCluster, discard); PHP_METHOD(RedisCluster, watch); PHP_METHOD(RedisCluster, unwatch); -/* Commands we direct to a node, with no args */ +/* Commands we direct to a node */ PHP_METHOD(RedisCluster, save); PHP_METHOD(RedisCluster, bgsave); PHP_METHOD(RedisCluster, flushdb); @@ -255,6 +255,7 @@ PHP_METHOD(RedisCluster, role); PHP_METHOD(RedisCluster, time); PHP_METHOD(RedisCluster, randomkey); PHP_METHOD(RedisCluster, ping); +PHP_METHOD(RedisCluster, echo); /* Introspection */ PHP_METHOD(RedisCluster, getoption); |