Commit Graph

69 Commits

Author SHA1 Message Date
mingrammer c9fed25a60 Support default redis address 2019-01-13 17:36:38 +09:00
Pascal S. de Kloe 38381402f6 FIX: WATCH example stack protection (with retry count) + comment transaction steps. 2018-12-19 21:57:44 +01:00
Issac Trotts e99b0688d6
use more idiomatic for loop in ExamplePubSub 2018-10-03 16:36:21 -07:00
Vladimir Mihailenco 48e9afe2a7 Use PubSub.Channel to not burn CPU on errors 2018-10-01 11:43:26 +03:00
Vladimir Mihailenco 0197108027 Use bufio.Writer 2018-08-17 14:14:02 +03:00
Vladimir Mihailenco fea1be3727 Replace client with redisdb in examples 2018-08-12 11:45:35 +03:00
Vladimir Mihailenco d5fc79d4ee Add Client.Do 2018-08-12 11:20:24 +03:00
Vladimir Mihailenco 96d1b85009 Cleanups 2018-08-06 13:59:15 +03:00
Vladimir Mihailenco 14aebdec92 Better PubSub example 2018-07-24 14:50:16 +03:00
Vladimir Mihailenco 480db94d33 Fix example 2018-07-24 10:48:24 +03:00
Vladimir Mihailenco 9bb7bb3cde Change ReceiveMessage to not use Ping 2018-07-24 09:54:34 +03:00
Vladimir Mihailenco ee41b90923 Improve docs 2018-07-18 15:28:51 +03:00
Vladimir Mihailenco 1f59be5cc0 cluster: add manual setup 2018-06-29 10:46:12 +03:00
Matt Kelly bdbad50f7e Fix grammar in ExampleClient 2017-11-25 12:37:26 -05:00
Alex 165f47fa41 Using INCR as an atomic operation 2017-08-04 10:51:14 +02:00
Vladimir Mihailenco 55da68487f Fix PubSub example. Fixes #575 2017-07-01 13:42:26 +03:00
Vladimir Mihailenco f1ed2ad288 Add FlushDBAsync and FlushAllAsync 2017-06-17 12:53:16 +03:00
Vladimir Mihailenco 2dbe5a3d99 Add ParseURL example 2017-06-09 13:55:45 +03:00
Felipe Cavalcanti eeb4d09198 rename Pipelineable to Pipeliner 2017-05-02 12:00:53 -03:00
Felipe Cavalcanti 6fca4d5ad0 pipeline now has its own interface "Pipelineable" 2017-05-01 12:42:58 -03:00
Vladimir Mihailenco 7c3f4d045e Lower case custom command 2017-04-15 13:40:20 +03:00
Vladimir Mihailenco 8d52a95269 Simplify PubSub API 2017-04-11 16:53:55 +03:00
Dimitrij Denissenko 30412d7652 Added support for universal client 2017-02-20 10:46:22 +00:00
Vladimir Mihailenco 8040d63c4f Remove gopkg.in 2017-02-19 09:49:21 +02:00
Vladimir Mihailenco aa895c2c94 Add TxPipeline examples. 2016-12-22 13:15:20 +02:00
Vladimir Mihailenco 82f21639bf Fix WrapProcess for Ring and Cluster. Add better example. 2016-11-30 13:00:53 +02:00
Vladimir Mihailenco d4a3b1f282 Add instrumentation example. 2016-11-26 10:33:06 +02:00
Vladimir Mihailenco 20bc3ec5a6 Refactor Tx using Pipeline to implement Cmdable interface. 2016-10-13 14:36:15 +03:00
Vladimir Mihailenco f5245efa73 Prepare v5 release. 2016-10-09 10:56:53 +00:00
Vladimir Mihailenco 092698ecd3 Tweak transaction API. 2016-05-02 15:54:15 +03:00
Vladimir Mihailenco 38be24b025 Scan: swap return values and change cursor type. 2016-04-26 16:08:31 +03:00
Dimitrij Denissenko 7456a0e473 Add scan iterator. 2016-04-26 15:01:49 +03:00
Vladimir Mihailenco 38d30a4bab Use redis.v4 that is in alpha/beta state. 2016-04-09 13:27:16 +03:00
Vladimir Mihailenco 5e5a540eb1 Accept interface{} in Eval. Fixes #243. 2016-04-09 11:01:33 +03:00
Vladimir Mihailenco 3e2da01875 Add redis cluster benchmark results. 2016-03-19 16:55:47 +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 956d6c508b Try to fix flaky test. 2016-03-15 14:45:04 +02:00
Vladimir Mihailenco e37202e605 Skip flaky tests. 2016-03-14 19:38:22 +02:00
Vladimir Mihailenco 46790aa060 Add race test for big vals. Copy connection to avoid race with PubSub. 2016-03-14 16:34:15 +02:00
Vladimir Mihailenco ef5ccc12ae Add tests for conn reaper. 2016-03-12 14:42:12 +02:00
Vladimir Mihailenco 36487d8462 Stabilize build. 2015-12-22 12:08:35 +02:00
Vladimir Mihailenco f9e280505c Merge pull request #197 from shagabutdinov/docs/blpop-example
docs: add BLPop example
2015-11-25 12:23:48 +02:00
Leonid Shagabutdinov d9278e3d74 add BLPop example 2015-11-25 14:44:26 +06:00
Vladimir Mihailenco b6b689904a Fix test. 2015-11-22 17:53:44 +02:00
Vladimir Mihailenco 7ea220f54d Merge pull request #190 from go-redis/fix/multi-example
Improve Tx example.
2015-11-15 11:12:49 +02:00
Vladimir Mihailenco f766eb0209 Improve Tx example. 2015-11-15 10:23:47 +02:00
Vladimir Mihailenco 9987f2abaa Add PubSub.ReceiveMessage. 2015-09-06 13:54:04 +03:00
Vladimir Mihailenco 37782aca57 Add Scan example. Fixes #149. 2015-08-19 11:44:46 +03:00
Vladimir Mihailenco c0b0c99ec5 Document zero expiration. Fixes #143. 2015-08-07 17:09:00 +03:00
Vladimir Mihailenco d7edae84cf pubsub: improve API and docs. 2015-07-11 13:42:44 +03:00