Commit Graph

1126 Commits

Author SHA1 Message Date
Vladimir Mihailenco a07e186fb3 Fix all examples in readme. Req now implements Stringer interface for debugging purposes. 2013-02-17 18:49:17 +02:00
Vladimir Mihailenco ed0d065f72 Add test for timeout in BLPOP. 2013-02-02 16:04:41 +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 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 9f494b20b1 Typos. 2013-01-19 19:05:28 +02:00
Vladimir Mihailenco d38d9a2e24 Merge pull request #2 from jahfer/master
Fix the "Getting started" example for client.Set.
2013-01-19 09:03:29 -08:00
jahfer 559b2b27a7 Fixed syntax in "Getting started" example
Now correctly demonstrates how to do error-handling on a "client.set()" command
2013-01-19 11:31:23 -05:00
Vladimir Mihailenco 4ef326c3ab Add license. Fixes #1. 2012-12-19 13:05:50 +02:00
Vladimir Mihailenco 7cda614ca1 Fix compilation. 2012-11-11 16:37:50 +02:00
Vladimir Mihailenco 9e8b988406 Ignore Read error if we read enough data. 2012-10-26 18:21:57 +03:00
Vladimir Mihailenco 096f017b69 Use DialTimeout. 2012-10-26 18:21:14 +03:00
Vladimir Mihailenco 1fa1eee592 Fix failing test. 2012-10-14 16:22:54 +03:00
Vladimir Mihailenco a94daf0c96 parser: Introduce parserError. 2012-08-26 12:18:42 +03:00
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