Commit Graph

145 Commits

Author SHA1 Message Date
Dimitrij Denissenko a5891da2f6 Simplify internal API 2015-04-17 14:18:44 +01:00
Vladimir Mihailenco d3fb658fef Fix pool waiting for connection that was removed. 2015-04-17 15:42:35 +03:00
Dimitrij Denissenko 51f0a7b0a7 Ensure slots are initialised. Return non-failing connections to pool 2015-04-13 14:33:44 +01:00
Dimitrij Denissenko c21e5f3255 Add Redis Cluster support. 2015-03-19 11:19:55 +02:00
Dimitrij Denissenko a6385ccf0a Documented options 2015-01-31 14:54:37 +00:00
Dimitrij Denissenko 9f9822edd2 Use a lock-free connection pool 2015-01-31 13:20:37 +00:00
Vladimir Mihailenco 2a81661b34 Merge pull request #64 from go-redis/feature/ginkgo-suite
Use ginkgo test suite
2015-01-30 17:06:49 +02:00
Vladimir Mihailenco 7f87de6109 Make sentinel tests more reliable. 2015-01-30 16:45:57 +02:00
Vladimir Mihailenco 0bc954fd9f Add canonical import path. 2015-01-17 12:07:35 +02:00
Vladimir Mihailenco 2508d0a57e Add Dialer option. 2014-09-30 11:52:09 +03:00
Vladimir Mihailenco 3836435639 Remove glog. 2014-07-31 16:01:54 +03:00
Vladimir Mihailenco 97039c229c Reuse write buffer. 2014-07-13 15:07:37 +03:00
Vladimir Mihailenco 537971dca1 Fix db selection. Fixes #31. 2014-07-08 11:24:19 +03:00
Vladimir Mihailenco 678b8b3667 Cleanup. 2014-06-28 14:47:37 +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 a042cdda74 Redis Sentinel support. 2014-06-14 14:46:11 +03:00
Vladimir Mihailenco 3bea997988 all: switch to gopkg.in. 2014-05-11 10:44:22 +03:00
Vladimir Mihailenco 5f00ff095c Remove unused variables. 2013-02-02 12:58:31 +02:00
Vladimir Mihailenco f64761880b Add NewUnixClient to connect to the unix sockets. 2013-02-02 12:50:43 +02:00
Vladimir Mihailenco 7cda614ca1 Fix compilation. 2012-11-11 16:37:50 +02:00
Vladimir Mihailenco 096f017b69 Use DialTimeout. 2012-10-26 18:21:14 +03:00
Vladimir Mihailenco a94daf0c96 parser: Introduce parserError. 2012-08-26 12:18:42 +03:00
Vladimir Mihailenco dbcfb0984e redis: Rename mtx to reqsMtx. 2012-08-25 22:44:53 +03:00
Vladimir Mihailenco 61134182aa redis: Log errors instead panic. 2012-08-25 16:47:27 +03:00
Vladimir Mihailenco b6ae953e1c Add ParseReq method and tweak benchmarks. 2012-08-24 15:16:12 +03:00
Vladimir Mihailenco f56748aab9 Use net.Conn instead of io.ReadWriteCloser. 2012-08-20 14:50:25 +03:00
Vladimir Mihailenco 9ad848d04b Add support for scripting commands. 2012-08-20 13:42:33 +03:00
Vladimir Mihailenco 11e1783560 Review API. 2012-08-17 21:36:48 +03:00
Vladimir Mihailenco a2f5423658 Reuse buffer for constructing request. 2012-08-14 18:20:22 +03:00
Vladimir Mihailenco 59f901d62f parser: greatly simplify reply parsing. 2012-08-12 21:41:44 +03:00
Vladimir Mihailenco 2f4156dd04 Extract pipeline and multi/exec support to separate files. 2012-08-11 17:42:10 +03:00
Vladimir Mihailenco 83664bb3a8 Add support for watch in transactions. 2012-08-09 17:06:26 +03:00
Vladimir Mihailenco b2e3463af1 Get rid of custom buffered reader. 2012-08-09 13:12:41 +03:00
Vladimir Mihailenco b2805a5e04 Rename OneConnPool to SingleConnPool. 2012-08-06 17:04:30 +03:00
Vladimir Mihailenco 05223145e0 Change API and update tests. 2012-08-06 15:09:48 +03:00
Vladimir Mihailenco c5c8ec6b0c Add support for connection initialisation. 2012-08-06 11:33:49 +03:00
Vladimir Mihailenco 4e6fa48b48 Cleanup. 2012-08-06 11:00:29 +03:00
Vladimir Mihailenco b36e10bf80 Properly read replies that are bigger than read buffer. 2012-08-05 21:09:38 +03:00
Vladimir Mihailenco 19a5db6632 Add connnection pool and improve API. 2012-08-05 15:09:43 +03:00
Vladimir Mihailenco 9d06871d6e Fix waiting reply on empty queue. 2012-07-29 12:51:29 +03:00
Vladimir Mihailenco 41137c2e6f Add pipelining support. 2012-07-29 12:42:00 +03:00
Vladimir Mihailenco 9c5def7f1f Fix imports. 2012-07-27 14:43:30 +03:00
Vladimir Mihailenco e73e87fc11 Improve API and perfomance. 2012-07-26 21:43:21 +03:00
Vladimir Mihailenco 153bd05fb7 Fix multi/exec and add more commands. 2012-07-26 18:16:17 +03:00
Vladimir Mihailenco a74d9a5801 Initial commit. 2012-07-25 16:00:50 +03:00