Commit Graph

58 Commits

Author SHA1 Message Date
Vladimir Mihailenco d89a58af91 Merge pull request #305 from go-redis/fix/gopkg-v4
Use redis.v4 that is in alpha/beta state.
2016-04-09 13:32:42 +03:00
Vladimir Mihailenco 38d30a4bab Use redis.v4 that is in alpha/beta state. 2016-04-09 13:27:16 +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 7a03514d7f Rename Multi to Tx to better reflect the purpose. Fixes #194. 2016-04-09 11:23:58 +03:00
Vladimir Mihailenco 6e1aef39ea Faster and simpler pool. 2016-03-19 11:49:13 +02:00
Vladimir Mihailenco f47fb47df0 Extract race tests to separate file. Add more race tests. 2016-03-16 19:45:35 +02:00
Vladimir Mihailenco e37202e605 Skip flaky tests. 2016-03-14 19:38:22 +02:00
Vladimir Mihailenco 0db1d730c8 Improve pool tests by verifying number of created connections. 2016-03-09 14:36:14 +02:00
Vladimir Mihailenco 6b369a317f Compare number approximatively. 2016-03-01 16:14:53 +02: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
Rich Hong a6da93713a Support multiple keys for the PFCOUNT command 2015-12-23 17:24:42 -05:00
Vladimir Mihailenco 9782e280cf Improve nil reply parsing. 2015-12-22 11:02:18 +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
Vladimir Mihailenco 83b8c0a9c0 Fix ZStore Weight type. Fixes #206. 2015-12-01 16:28:41 +02:00
Vladimir Mihailenco b6b689904a Fix test. 2015-11-22 17:53:44 +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 2d37474474 travis: fix build. 2015-09-28 12:40:31 +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
Jeff Pierce 7cafa2f3a5 Fixed syntax on ZRevRangeByLex test. 2015-08-25 12:18:17 -07:00
Jeff Pierce 5498ba400d Reverted change to struct ZRangeByScore, implemented ZRevRangeByLex. 2015-08-25 12:15:01 -07:00
Vladimir Mihailenco 9ead45f9e9 Add SRandMemberN. Fixes #155. 2015-08-25 14:02:16 +03:00
Jeff Pierce 15c887f700 Fixed tests. 2015-08-24 15:01:32 -07:00
Jeff Pierce 2abf5c5f14 Refactored zRangeByScore into zRangeBy. 2015-08-24 14:52:00 -07:00
Jeff Pierce 2de07f2493 Implemented ZRangeByLex with tests. 2015-08-22 20:38:37 -07:00
Vladimir Mihailenco 379b44f44a Add bytes support for sorted set. 2015-07-16 17:30:16 +03:00
Vladimir Mihailenco 412baf447b Add RestoreReplace. 2015-07-11 12:23:04 +03:00
Vladimir Mihailenco 3c1f2bd45a Allow setting and scaning interface{} values. 2015-07-11 11:54:26 +03:00
Vladimir Mihailenco 3fc16811b5 Fix flaky tests by using better matcher. 2015-06-03 15:09:56 +03:00
Vladimir Mihailenco 387330857d Fix ClientPause test. 2015-05-23 14:36:29 +03:00
Vladimir Mihailenco e72b69b964 Increase read/write timeout. 2015-05-18 14:52:46 +03:00
Vladimir Mihailenco bca8659b54 Run tests against latest Redis version. 2015-05-18 14:44:40 +03:00
Vladimir Mihailenco 4df8b2bbbc Add ClientPause command. 2015-05-15 15:11:22 +03:00
Vladimir Mihailenco bbfbc5f668 Merge pull request #107 from go-redis/fix/psetex-setex-remove
Remove PSetEx and SetEx. Set should be used instead.
2015-05-15 13:02:15 +03:00
Vladimir Mihailenco 0b87c16b61 Remove PSetEx and SetEx. Set should be used instead. 2015-05-14 16:49:47 +03:00
Vladimir Mihailenco 18ea75d2ad Release redis.v3 beta. 2015-05-14 16:24:19 +03:00
Vladimir Mihailenco 1078a303ea sentine: don't pass DB and Password to Sentinel client. 2015-05-14 16:13:45 +03:00
Vladimir Mihailenco 121cfc5792 Remove deprecated funcs. 2015-05-02 16:22:06 +03:00
Vladimir Mihailenco 9de2369192 Merge pull request #85 from go-redis/fix/time-duration-timeout
Use time.Duration to specify timeout.
2015-04-13 10:04:28 +03:00
Vladimir Mihailenco fb7803ad5a Use time.Duration to specify timeout. 2015-04-13 09:48:40 +03:00
Vladimir Mihailenco 99fe9114b1 Add ClusterPipeline. 2015-04-13 09:31:30 +03:00