Commit Graph

110 Commits

Author SHA1 Message Date
Vladimir Mihailenco 037888ee0f multi: Restrict Discard usage. 2012-08-25 22:51:42 +03:00
Vladimir Mihailenco dbcfb0984e redis: Rename mtx to reqsMtx. 2012-08-25 22:44:53 +03:00
Vladimir Mihailenco ee844aaf1d multi: Properly reset client in case of empty transaction. 2012-08-25 21:54:35 +03:00
Vladimir Mihailenco 4e3743c0d6 pub/sub: Clean up message parsing. 2012-08-25 21:39:35 +03:00
Vladimir Mihailenco 8c7af722cc readme: Fix typo. 2012-08-25 21:38:36 +03:00
Vladimir Mihailenco 61134182aa redis: Log errors instead panic. 2012-08-25 16:47:27 +03:00
Vladimir Mihailenco e993de1033 commands: Remove Z.ScoreString method. 2012-08-25 16:34:35 +03:00
Vladimir Mihailenco ce63ade88d Document Nil variable. 2012-08-25 16:34:13 +03:00
Vladimir Mihailenco a8b009b2a9 readme: Add link to the API. 2012-08-25 16:29:50 +03:00
Vladimir Mihailenco a60c0a550b Update docs. 2012-08-25 16:27:05 +03:00
Vladimir Mihailenco 1f7cc3fea5 Update readme. 2012-08-25 15:40:49 +03:00
Vladimir Mihailenco e40a6041e1 Add SHUTDOWN command. 2012-08-25 15:35:39 +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 303687e438 multi: Use mutex to sychronize reads and writes. 2012-08-20 12:10:00 +03:00
Vladimir Mihailenco 2f5c2aa6be parser: Optimize multi bulk request parsing. 2012-08-20 12:00:59 +03:00
Vladimir Mihailenco 5e2cce4853 Micro-optimize loop. 2012-08-20 11:40:27 +03:00
Vladimir Mihailenco 583e901221 Use IfaceSliceReq for CONFIG GET because it can return (nil) on Redis 2.4.*. 2012-08-20 00:16:26 +03:00
Vladimir Mihailenco 9764065750 Reuse connections to Redis during tests. 2012-08-19 23:59:52 +03:00
Vladimir Mihailenco a654224ced pipeline: Add DiscardQueued method. 2012-08-19 23:19:00 +03:00
Vladimir Mihailenco 569b1b07ac Add BITCOUNT and BITOP commands. 2012-08-19 15:57:58 +03:00
Vladimir Mihailenco 11e1783560 Review API. 2012-08-17 21:36:48 +03:00
Vladimir Mihailenco df1b8a3f5c Fix reading zero-length bulk reply. 2012-08-15 23:48:32 +03:00
Vladimir Mihailenco a2f5423658 Reuse buffer for constructing request. 2012-08-14 18:20:22 +03:00
Vladimir Mihailenco 625adac9ab multi: Improve API. 2012-08-13 14:45:32 +03:00
Vladimir Mihailenco 59f901d62f parser: greatly simplify reply parsing. 2012-08-12 21:41:44 +03:00
Vladimir Mihailenco 051049ada6 readme: Don't use shortcuts. 2012-08-11 18:04:02 +03:00
Vladimir Mihailenco e7eb2a03f4 request: Export ErrValNotSet. 2012-08-11 18:02:28 +03:00
Vladimir Mihailenco 49f3b6a2c5 readme: Fix closeConn function example. 2012-08-11 17:55:19 +03:00
Vladimir Mihailenco 054708fdb8 readme: Fix transaction example. 2012-08-11 17:50:55 +03:00
Vladimir Mihailenco d2e8ee8bf8 readme: Fix example. 2012-08-11 17:47:33 +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 052cef49d2 Add support for psubscribe and punsubscribe. 2012-08-09 15:27:06 +03:00
Vladimir Mihailenco de86ea1993 Use ReadLiner interface where possible. 2012-08-09 14:51:43 +03:00
Vladimir Mihailenco b2e3463af1 Get rid of custom buffered reader. 2012-08-09 13:12:41 +03:00
Vladimir Mihailenco ea3677294b Add installation instructions. 2012-08-06 17:17:18 +03:00
Vladimir Mihailenco fa5858dbc4 Update readme. 2012-08-06 17:14:29 +03:00
Vladimir Mihailenco b2805a5e04 Rename OneConnPool to SingleConnPool. 2012-08-06 17:04:30 +03:00
Vladimir Mihailenco ee618a6290 Fix PubSubClient connection pool management. 2012-08-06 17:02:45 +03:00
Vladimir Mihailenco 1d3a223419 Check every req for error. 2012-08-06 15:45:38 +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 859c5fb03b Add test for running commands from different goroutines. 2012-07-29 13:02:45 +03:00
Vladimir Mihailenco 2f284d75b8 readme: Add note about connection pool. 2012-07-29 12:54:23 +03:00
Vladimir Mihailenco 9d06871d6e Fix waiting reply on empty queue. 2012-07-29 12:51:29 +03:00