Commit Graph

99 Commits

Author SHA1 Message Date
Vladimir Mihailenco 235dc49d5f Rename GeoPosition to GeoPos for consistency with Redis Server. Simplify code where possible. 2016-08-22 09:39:22 +00:00
Sergey Shcherbina ac1c5e46f9 support geopos command 2016-08-22 02:32:06 +05:00
Jamie Markle 5760a88db3 add WrapProcess 2016-08-15 15:22:50 -04:00
Vladimir Mihailenco ff8419f643 Rename Commander to Cmdable to match internal name. 2016-07-21 13:24:58 +00:00
Vladimir Mihailenco 46240a2089 Merge pull request #342 from yzprofile/v4
Feature: Export cmdable as an interface
2016-07-21 16:20:12 +03:00
Vladimir Mihailenco 4210c090b1 Move Publish channel to cmdable. Remove method that was deprecated in v3. 2016-07-21 13:04:40 +00:00
yzprofile dcdf3fc9c3 Feature: Export cmdable as an interface 2016-07-21 13:50:28 +08:00
Vladimir Mihailenco 261cf7ae70 Fix Del command case. 2016-07-08 09:30:38 +00:00
Dimitrij Denissenko 7d856c5595 Make proto/parser an internal package 2016-07-02 13:52:10 +01:00
Dimitrij Denissenko 1c4c05e970 Ensure to use pointer methods where appropriate. Tidy up godoc. 2016-07-01 13:25:28 +01:00
Vladimir Mihailenco 4761c24218 Add ForEachMaster API. 2016-06-17 12:09:38 +00:00
Vladimir Mihailenco b1f6610fc6 Support more interface values. 2016-06-14 10:22:16 +00:00
Mattias Lundell cd582ed576 add support for SPOP with a count argument (available in REDIS 3.2) 2016-06-10 12:58:04 +00:00
Vladimir Mihailenco ac162eb843 Move Select to stateful commands and make it available only via Pipeline and Tx. 2016-06-05 09:45:39 +00:00
Joris Minjat 487feebef1 Add latency based routing to Redis Cluster client. 2016-05-23 12:49:55 +03:00
Vladimir Mihailenco 9cbb0c42df Change HGetAll and HMSet to return/accept map[string]string. 2016-05-02 14:52:00 +03:00
Vladimir Mihailenco 38be24b025 Scan: swap return values and change cursor type. 2016-04-26 16:08:31 +03:00
Dimitrij Denissenko 7456a0e473 Add scan iterator. 2016-04-26 15:01:49 +03:00
Vladimir Mihailenco 31abb18d9a Move logger to internal package. 2016-04-09 14:52:01 +03:00
Vladimir Mihailenco 09ec5f0b4b Merge pull request #304 from go-redis/fix/rename-zrangebyscore
Rename ZRangeByScore to ZRange since it is used in ZRangeByLex.
2016-04-09 13:31:46 +03:00
Vladimir Mihailenco 51349cd90e Rename ZRangeByScore to ZRange since it is used in ZRangeByLex. 2016-04-09 13:15:33 +03:00
Vladimir Mihailenco ae217e0444 Expose cluster node id in ClusterSlots. 2016-04-09 12:52:43 +03:00
Vladimir Mihailenco 5e5a540eb1 Accept interface{} in Eval. Fixes #243. 2016-04-09 11:01:33 +03:00
Dimitrij Denissenko 9f40911f28 Correct method accessors 2016-03-09 09:49:05 +00:00
Vladimir Mihailenco ebf51e1a1b Add prefix to package logger. 2016-02-06 12:16:09 +02:00
Francisco Souza d3ee281748 Declare and use a package-level Logger
This allow users of the API to override the Logger. Fix #250.
2016-02-03 12:30:39 -05:00
Vladimir Mihailenco 3ed364e92a Sort can return nil reply. Fixes #246. 2016-01-22 12:29:23 +02:00
Anatolii Mihailenco 602824623b commands.go: add section parameter to Info function. 2016-01-08 15:03:34 +02:00
Anatolii Mihailenco cbc5360e78 commands.go: Add new functions to cluster. 2015-12-30 14:06:21 +02:00
Anatolii Mihailenco 9b1148903e commands.go: Add ClusterKeySlot function. 2015-12-28 19:29:02 +02:00
Rich Hong a6da93713a Support multiple keys for the PFCOUNT command 2015-12-23 17:24:42 -05:00
Vladimir Mihailenco 2be29240c7 Merge pull request #223 from anmic/feature/cluster-reset
commands: add cluster reset function.
2015-12-22 11:48:42 +02:00
Anatolii Mihailenco e335934332 commands: add cluster reset function. 2015-12-21 18:53:02 +02:00
Anatolii Mihailenco cbcdd97ca2 commands.go: fix input types. 2015-12-12 18:57:56 +02:00
Anatolii Mihailenco 12edede26a Revert "Accept interface{} values in list and set commands."
This reverts commit 401979b597.
2015-12-12 17:41:49 +02:00
Vladimir Mihailenco 401979b597 Accept interface{} values in list and set commands. 2015-12-10 09:52:42 +02:00
Dimitrij Denissenko 397440deca Added CLUSTER FORGET command 2015-12-09 09:33:37 +00:00
Vladimir Mihailenco 83b8c0a9c0 Fix ZStore Weight type. Fixes #206. 2015-12-01 16:28:41 +02:00
Vladimir Mihailenco 842ea553dc Fix GeoRadius reply parsing. 2015-11-14 16:36:21 +02:00
Cosmin Luță 43603e1ea4 Implemented PFADD, PFCOUNT, PFMERGE 2015-11-04 10:48:10 +02:00
Vladimir Mihailenco 96fcac6a43 Merge pull request #180 from go-redis/fix/client-set-name-comment
Fix names and add comments.
2015-10-22 14:24:32 +03:00
Vladimir Mihailenco f04e7879e6 Merge pull request #176 from go-redis/feature/geo-more
Added binding for GEORADIUSBYMEMBER, GEODIST AND GEOHASH.
2015-10-22 14:21:30 +03:00
Vladimir Mihailenco 2bf0ea529d Fix names and add comments. 2015-10-22 14:15:47 +03:00
Will Jessop ffeacb8b03 Implement SetName and GetName
Allows setting and getting the client connection name.

http://redis.io/commands/client-setname
http://redis.io/commands/client-getname
2015-10-20 20:21:58 +01:00
Ian Chan 126513f1fb Added binding for GEORADIUSBYMEMBER, GEODIST AND GEOHASH.
Change-Id: Ia6144617f42629af4c022e595c444ddc6d66f1a3
2015-10-16 17:57:45 +03:00
Vladimir Mihailenco 0944d0167b Remove unneeded formatting. 2015-10-07 18:21:18 +03:00
Vladimir Mihailenco b23b9b7727 Refactor reply parser. 2015-10-07 17:09:20 +03:00
Ian Chan 8a05670e7a Added binding for GEOADD and GEORADIUS. 2015-09-28 11:11:46 +03:00
Vladimir Mihailenco d2689feb56 Add ZADD modifiers. 2015-08-29 13:08:27 +03:00
Vladimir Mihailenco 5dfdaafe04 Merge pull request #156 from go-redis/fix/SRandMemberN
Add SRandMemberN. Fixes #155.
2015-08-26 09:55:17 +03:00