Commit Graph

54 Commits

Author SHA1 Message Date
Huan Du 4598ed0eac Correctly parse EVAL response containing customized error (#710)
* always parse all content in an array including error
2018-02-16 13:39:56 +02:00
Crimson 7aa0130b2e Add SMembersMap function 2017-11-19 18:00:51 +01:00
Vladimir Mihailenco ef95182d29 Code cleanup 2017-03-31 15:11:11 +03:00
Vladimir Mihailenco 8040d63c4f Remove gopkg.in 2017-02-19 09:49:21 +02:00
Vladimir Mihailenco 69554c0ec5 Reduce number of allocations. 2017-01-13 13:39:59 +02:00
Vladimir Mihailenco ae523dd552 travis: run go vet 2016-11-06 13:37:23 +02:00
Vladimir Mihailenco 3996289fe2 internal/proto: use read prefix to indicate that method reads from the stream. 2016-10-14 14:46:35 +03:00
Vladimir Mihailenco dcdf129dd5 Add TimeCmd. 2016-10-14 14:39:02 +03:00
Vladimir Mihailenco f5245efa73 Prepare v5 release. 2016-10-09 10:56:53 +00:00
Simon Ugovšek ce3447602f Add missing argument to a `fmt.Errorf` call 2016-10-07 15:41:03 +02:00
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
Dimitrij Denissenko 7d856c5595 Make proto/parser an internal package 2016-07-02 13:52:10 +01:00
Vladimir Mihailenco 5d0dda688f Make readLine more strict. 2016-06-27 09:54:22 +00:00
Joris Minjat 487feebef1 Add latency based routing to Redis Cluster client. 2016-05-23 12:49:55 +03:00
Vladimir Mihailenco 38be24b025 Scan: swap return values and change cursor type. 2016-04-26 16:08:31 +03:00
Vladimir Mihailenco 38d30a4bab Use redis.v4 that is in alpha/beta state. 2016-04-09 13:27:16 +03:00
Vladimir Mihailenco ae217e0444 Expose cluster node id in ClusterSlots. 2016-04-09 12:52:43 +03:00
Vladimir Mihailenco f47fb47df0 Extract race tests to separate file. Add more race tests. 2016-03-16 19:45:35 +02:00
Vladimir Mihailenco 672fb9bb97 Fix slice grow in readN. 2016-03-14 12:36:18 +02:00
Vladimir Mihailenco ad0739be99 Extract pool package. Add pool benchmark. 2016-03-12 10:52:13 +02:00
Vladimir Mihailenco d3f33b67b9 Fix error formatting. 2016-03-08 16:00:33 +02:00
Vladimir Mihailenco 2b2a6805dd Fix cluster slots parsing. 2016-02-06 11:45:34 +02:00
Vladimir Mihailenco 3ed364e92a Sort can return nil reply. Fixes #246. 2016-01-22 12:29:23 +02:00
Vladimir Mihailenco 9782e280cf Improve nil reply parsing. 2015-12-22 11:02:18 +02:00
Vladimir Mihailenco 842ea553dc Fix GeoRadius reply parsing. 2015-11-14 16:36:21 +02:00
Vladimir Mihailenco 25cb844f82 Add readScanReply. 2015-10-07 17:56:49 +03:00
Vladimir Mihailenco b23b9b7727 Refactor reply parser. 2015-10-07 17:09:20 +03:00
Vladimir Mihailenco 58cb170ac0 Get rid of custom bufio package. 2015-09-03 18:41:35 +03:00
Vladimir Mihailenco 704068597f Use unsafe for bytes->string conversion. 2015-07-18 11:17:52 +03:00
Vladimir Mihailenco 3c1f2bd45a Allow setting and scaning interface{} values. 2015-07-11 11:54:26 +03:00
Dimitrij Denissenko c21e5f3255 Add Redis Cluster support. 2015-03-19 11:19:55 +02:00
Dimitrij Denissenko 34855172f2 Fix/normalise pubsubnumsub response 2015-01-30 17:09:57 +02:00
Vladimir Mihailenco dc9bffa57d Rework ZRangeWithScores. 2014-07-05 13:46:27 +03:00
Vladimir Mihailenco 00a131e3a9 More benchmarks. 2014-07-04 15:19:45 +03:00
Vladimir Mihailenco 678b8b3667 Cleanup. 2014-06-28 14:47:37 +03:00
Vladimir Mihailenco 5ea8ad46d6 Fix import path. 2014-06-18 16:47:21 +03:00
Vladimir Mihailenco deb41df992 Don't remove connection from the pool on redis errors. 2014-06-18 15:55:49 +03:00
Vladimir Mihailenco 3bea997988 all: switch to gopkg.in. 2014-05-11 10:44:22 +03:00
Vladimir Mihailenco f14cf3644b Add test for reading many keys. 2013-03-21 12:28:19 +02:00
Vladimir Mihailenco 503a8c8734 Add todo. 2013-02-02 15:30:58 +02:00
Vladimir Mihailenco 5a90e32c63 Add *Map commands where possible. 2013-02-02 14:17:01 +02:00
Vladimir Mihailenco dfde8211d4 Use string in append directly. 2013-02-02 12:59:42 +02:00
Vladimir Mihailenco 9e8b988406 Ignore Read error if we read enough data. 2012-10-26 18:21:57 +03:00
Vladimir Mihailenco a94daf0c96 parser: Introduce parserError. 2012-08-26 12:18:42 +03:00
Vladimir Mihailenco ce63ade88d Document Nil variable. 2012-08-25 16:34:13 +03:00
Vladimir Mihailenco b6ae953e1c Add ParseReq method and tweak benchmarks. 2012-08-24 15:16:12 +03:00
Vladimir Mihailenco 9ad848d04b Add support for scripting commands. 2012-08-20 13:42:33 +03:00
Vladimir Mihailenco 2f5c2aa6be parser: Optimize multi bulk request parsing. 2012-08-20 12:00:59 +03:00
Vladimir Mihailenco 11e1783560 Review API. 2012-08-17 21:36:48 +03:00