Commit Graph

1449 Commits

Author SHA1 Message Date
Vladimir Mihailenco c01b1dcab8 Tweak doc 2020-02-13 16:13:33 +02:00
Vladimir Mihailenco 709e543f16
Merge pull request #1259 from go-redis/fix/unexport-lock-clone
Unexport Clone and Lock from embedded hooks
2020-02-12 13:44:55 +02:00
Vladimir Mihailenco 512e6c7a40 Unexport Clone and Lock from embedded hooks 2020-02-12 13:02:09 +02:00
Sawit Trisirisatayawong 6bd8d9ce28
README Fix: Added client variable initialisation (redis.NewClient) in quickstartExampleClient() (#1257)
* updated: readme quickstart
2020-02-11 09:35:26 +02:00
Vladimir Mihailenco 68dd70bb72
Merge pull request #1255 from git-hulk/master
Exported the setErr function as public
2020-02-03 16:38:05 +02:00
git-hulk efeb0a2082 Add test case for command set error 2020-02-03 18:18:37 +08:00
git-hulk d52b11cb42 Exported the setErr function as public 2020-02-03 17:53:47 +08:00
Vladimir Mihailenco a579d58c59
Merge pull request #1253 from go-redis/feature/with-timeout
Add WithTimeout
2020-02-02 15:22:13 +02:00
Vladimir Mihailenco d2e52839ee Add WithTimeout 2020-02-02 14:59:27 +02:00
Vladimir Mihailenco 2df96f7ef0
Merge pull request #1252 from go-redis/fix/set-cmd-err
Set error on the commands in case there are no more attempts left
2020-02-02 14:50:31 +02:00
Vladimir Mihailenco 45de1c42ae Set error on the commands in case there are no more attempts left 2020-02-02 14:17:14 +02:00
Vladimir Mihailenco 5edc4c8384
Merge pull request #1251 from go-redis/fix/hook-error-cmd
Set an error returned from the hook on the Cmd
2020-02-02 12:13:49 +02:00
Vladimir Mihailenco bdcf7a49a2 Set an error returned from the hook on the Cmd 2020-02-02 11:55:35 +02:00
Vladimir Mihailenco db45a825cc Remove SetLimiter 2020-02-02 11:09:27 +02:00
Vladimir Mihailenco 4eb2debcdc Don't create empty map when value is missing 2020-02-02 10:48:23 +02:00
yeplato a8704c3bd0
let XReadGroup skip empty message and process next message (#1243)
* let XReadGroup skip empty message and process next message
2020-02-02 10:46:20 +02:00
Furkan Senharputlu 8a0ab1aaa7
Make universal options functions public (#1250)
* Make universal options functions public
2020-01-29 17:36:52 +02:00
Vladimir Mihailenco 2f96fd1378 Fix doc 2020-01-20 11:57:46 +02:00
Vladimir Mihailenco c1595381b1
Merge pull request #1241 from YangKian/master
Fix sample code for Sort method in README
2020-01-19 12:17:32 +02:00
YangKian 944a6a1752 Fix sample code for Sort method in README 2020-01-19 16:27:47 +08:00
Vladimir Mihailenco a4bad76db9
Merge pull request #1234 from go-redis/fix/tx-pipeline
Change Tx.Pipeline and Tx.TxPipeline meaning
2020-01-12 14:45:23 +02:00
Vladimir Mihailenco dd4ef4e9cb Change Tx.Pipeline and Tx.TxPipeline meaning 2020-01-12 14:19:21 +02:00
Vladimir Mihailenco 08dad1eb7f Add hint on Streams usage 2020-01-12 12:14:22 +02:00
Vladimir Mihailenco 13b6cb3891 Add note on HMGet 2020-01-12 12:03:21 +02:00
Vladimir Mihailenco 984a6395c9
Merge pull request #1225 from go-redis/fix/watch-instrumentation
Add missing Tx instrumentation
2019-12-29 12:47:23 +02:00
Vladimir Mihailenco c0fcf85f12 Add missing Tx instrumentation 2019-12-29 12:14:02 +02:00
Vladimir Mihailenco 6c240ffc72
Merge pull request #1220 from go-redis/fix/hmset-args
Fix HMSet args size
2019-12-24 13:05:11 +02:00
Vladimir Mihailenco 071b053edd Fix HMSet args size 2019-12-24 12:34:52 +02:00
Vladimir Mihailenco 0658532833
Merge pull request #1217 from go-redis/fix/hmset-to-hset
Use HSET for HMSet
2019-12-18 13:16:09 +02:00
Vladimir Mihailenco def106c404 Update build 2019-12-18 12:51:52 +02:00
Vladimir Mihailenco d7ce64d287 Use HSET for HMSet 2019-12-18 12:47:46 +02:00
Vladimir Mihailenco 5e9d366691
Merge pull request #1184 from wingyplus/geo-pos-cmd-result
add NewGeoPosCmdResult to make GeoPos mockable result
2019-12-09 09:59:43 +02:00
Vladimir Mihailenco 2713a259c5 readme: add go mod init 2019-12-09 09:54:23 +02:00
Vladimir Mihailenco 9d85e760bf
Merge pull request #1205 from jskelcy/js/fix_tests
properly point redisServerConf to redis.conf
2019-12-07 11:35:06 +02:00
jskelcy c2e92153ba properly point redisServerConf to redis.conf 2019-12-05 14:28:33 -05:00
Vladimir Mihailenco 23b47cf42f
Merge pull request #1204 from RealBar/master
fix:Set operation claims insufficient memory (#1203)
2019-12-05 14:18:49 +02:00
yalouwang d3b25fc66c fix:Set operation claims insufficient memory (#1203) 2019-12-04 17:19:00 +08:00
Vladimir Mihailenco dab9d3f802 Cleanup 2019-11-19 12:37:26 +02:00
Vladimir Mihailenco eb64034d44
Merge pull request #1189 from WTIFS/master
Set key to lowercase in cmdsInfoCache.Get()
2019-11-19 10:53:00 +02:00
Vladimir Mihailenco 206581a471
Merge pull request #1193 from ferhatelmas/bump-golangci
Bump golangci-lint to v1.21.0
2019-11-19 10:00:03 +02:00
ferhat elmas b403828de2 Bump golangci-lint to v1.21.0 2019-11-18 18:46:13 +01:00
Vladimir Mihailenco da5cd5af3e
Merge pull request #1192 from jkt628/sentinel-proxy
sentinel uses configured Dialer
2019-11-18 10:14:00 +02:00
Jack Thomasson 6a5329235d sentinel uses configured Dialer
such as https://godoc.org/golang.org/x/net/proxy#PerHost
2019-11-16 10:20:22 -07:00
chenyuanfei b32ffae255 set key to lower for cmdsInfoCache.Get() 2019-11-12 15:08:59 +08:00
Thanabodee Charoenpiriyakij 62639928b0 add NewGeoPosCmdResult
GeoPosCmd cannot mock in unit test due to set result function is missing.
2019-10-31 11:27:09 +07:00
李锐 726ddef6f5 fix: FailoverOptions to Options (#1178)
Add missing options to FailoverOptions
2019-10-21 13:21:23 +03:00
Vladimir Mihailenco f10f34eb29 Rename XGroup to XInfoGroups 2019-10-08 12:50:13 +03:00
saito d5b2eccbe2 add xinfo groups command (#1166)
Add xinfo groups command
2019-10-08 12:48:24 +03:00
Vladimir Mihailenco 4afa84c2c4 Fix sentinel leak 2019-10-08 12:43:00 +03:00
Vladimir Mihailenco 2cd577a047 readme: mention Go modules 2019-10-08 12:11:08 +03:00