1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-26 19:21:03 +03:00
Commit Graph

86 Commits

Author SHA1 Message Date
c2351b491a Add ScanType command to Scan with 'type' option
As of version 6.0 you can use this 'type' option to ask SCAN to only
return objects that match a given type, allowing you to
iterate through the database looking for keys of a specific type.
2021-01-09 09:20:35 -03:00
cc71f5d293 Add SetEX command 2020-10-22 14:38:36 -04:00
cbce5dbfa2 Add Sentinel RouteBy 2020-09-11 16:06:08 +03:00
690d9a94f3 Rename SlowLog to SlowLogGet 2020-09-09 18:09:26 +03:00
6c85ee767a Add NewFailoverClusterClient 2020-09-09 15:37:52 +03:00
dfae0ec28b Cleanup 2020-09-09 12:49:45 +03:00
be9ae84c6f support for slowlog command 2020-09-09 12:36:25 +03:00
14c843ef89 gofumports 2020-07-16 09:52:07 +03:00
736fa28659 Cleanup 2020-06-10 15:04:12 +03:00
558263e5eb Remove deprecated Ring options 2020-05-19 08:52:38 +03:00
3dcb844106 Bump major version 2020-05-19 08:52:38 +03:00
f5593121e0 Add ctx as first arg 2020-05-19 08:52:38 +03:00
49a0c8c319 Add test for ring and cluster hooks 2020-02-14 14:30:40 +02:00
dd4ef4e9cb Change Tx.Pipeline and Tx.TxPipeline meaning 2020-01-12 14:19:21 +02:00
472322938c Use shorter name in example 2019-08-18 17:24:17 +03:00
7779accbea Use semantic import versioning 2019-08-08 14:29:44 +03:00
4e9cea8876 Add proper SingleConnPool implementation 2019-08-03 17:31:28 +03:00
c9fed25a60 Support default redis address 2019-01-13 17:36:38 +09:00
38381402f6 FIX: WATCH example stack protection (with retry count) + comment transaction steps. 2018-12-19 21:57:44 +01:00
e99b0688d6 use more idiomatic for loop in ExamplePubSub 2018-10-03 16:36:21 -07:00
48e9afe2a7 Use PubSub.Channel to not burn CPU on errors 2018-10-01 11:43:26 +03:00
0197108027 Use bufio.Writer 2018-08-17 14:14:02 +03:00
fea1be3727 Replace client with redisdb in examples 2018-08-12 11:45:35 +03:00
d5fc79d4ee Add Client.Do 2018-08-12 11:20:24 +03:00
96d1b85009 Cleanups 2018-08-06 13:59:15 +03:00
14aebdec92 Better PubSub example 2018-07-24 14:50:16 +03:00
480db94d33 Fix example 2018-07-24 10:48:24 +03:00
9bb7bb3cde Change ReceiveMessage to not use Ping 2018-07-24 09:54:34 +03:00
ee41b90923 Improve docs 2018-07-18 15:28:51 +03:00
1f59be5cc0 cluster: add manual setup 2018-06-29 10:46:12 +03:00
bdbad50f7e Fix grammar in ExampleClient 2017-11-25 12:37:26 -05:00
165f47fa41 Using INCR as an atomic operation 2017-08-04 10:51:14 +02:00
55da68487f Fix PubSub example. Fixes #575 2017-07-01 13:42:26 +03:00
f1ed2ad288 Add FlushDBAsync and FlushAllAsync 2017-06-17 12:53:16 +03:00
2dbe5a3d99 Add ParseURL example 2017-06-09 13:55:45 +03:00
eeb4d09198 rename Pipelineable to Pipeliner 2017-05-02 12:00:53 -03:00
6fca4d5ad0 pipeline now has its own interface "Pipelineable" 2017-05-01 12:42:58 -03:00
7c3f4d045e Lower case custom command 2017-04-15 13:40:20 +03:00
8d52a95269 Simplify PubSub API 2017-04-11 16:53:55 +03:00
30412d7652 Added support for universal client 2017-02-20 10:46:22 +00:00
8040d63c4f Remove gopkg.in 2017-02-19 09:49:21 +02:00
aa895c2c94 Add TxPipeline examples. 2016-12-22 13:15:20 +02:00
82f21639bf Fix WrapProcess for Ring and Cluster. Add better example. 2016-11-30 13:00:53 +02:00
d4a3b1f282 Add instrumentation example. 2016-11-26 10:33:06 +02:00
20bc3ec5a6 Refactor Tx using Pipeline to implement Cmdable interface. 2016-10-13 14:36:15 +03:00
f5245efa73 Prepare v5 release. 2016-10-09 10:56:53 +00:00
092698ecd3 Tweak transaction API. 2016-05-02 15:54:15 +03:00
38be24b025 Scan: swap return values and change cursor type. 2016-04-26 16:08:31 +03:00
7456a0e473 Add scan iterator. 2016-04-26 15:01:49 +03:00
38d30a4bab Use redis.v4 that is in alpha/beta state. 2016-04-09 13:27:16 +03:00