Commit Graph

2398 Commits

Author SHA1 Message Date
Vladimir Mihailenco aa895c2c94 Add TxPipeline examples. 2016-12-22 13:15:20 +02:00
Vladimir Mihailenco 754e4ed906 Merge branch 'v5' of github.com:go-redis/redis into v5 2016-12-21 13:01:53 +02:00
Vladimir Mihailenco c9f896d6a3 Remove changelog. 2016-12-21 12:55:45 +02:00
Vladimir Mihailenco 110b84aab9 Merge pull request #457 from szyhf/v5
PR try.v2 for issue #453
2016-12-21 11:27:58 +02:00
Back Yu ce1ddaa30c Update commands.go
Let HSet and HSetNX can use value as interface{} .
2016-12-21 01:03:12 +08:00
Vladimir Mihailenco 5e76db6804 Merge pull request #451 from go-redis/fix/cluster-pipeline-tests
Fix cluster pipeline tests.
2016-12-20 18:08:51 +02:00
Vladimir Mihailenco cd7431c40a Fix cluster pipeline tests. 2016-12-20 17:59:38 +02:00
Vladimir Mihailenco a3eed908aa Merge pull request #450 from go-redis/fix/remove-dial-limiter
Remove dial limiter.
2016-12-16 15:53:26 +02:00
Vladimir Mihailenco c17f58f7a0 Remove dial limiter. 2016-12-16 15:43:37 +02:00
Vladimir Mihailenco b49d47eb4d Merge pull request #449 from go-redis/fix/use-first-slot-when-there-are-no-keys
Use first slot/shard when key is not defined.
2016-12-16 15:38:35 +02:00
Vladimir Mihailenco 6cd7a09b22 Use first slot/shard when key is not defined. 2016-12-16 14:30:23 +02:00
Vladimir Mihailenco 4ba635e15f Add func doc. 2016-12-16 14:19:53 +02:00
Vladimir Mihailenco 152cc1ee34 Merge pull request #444 from go-redis/feature/tx-pipeline
Add TxPipeline.
2016-12-16 11:40:46 +02:00
Vladimir Mihailenco 865d501d07 Add TxPipeline. 2016-12-16 11:25:58 +02:00
Vladimir Mihailenco ca08dfb44b Merge pull request #447 from go-redis/fix/script-interface
Check that clients implement scripter interface.
2016-12-14 12:23:40 +02:00
Vladimir Mihailenco 34122bffa8 Check that clients implement scripter interface. 2016-12-14 12:12:50 +02:00
Vladimir Mihailenco c6acf2ed15 Merge pull request #443 from go-redis/fix/cluster-nil-ptr
Fix nil ptr in case when all nodes are unavailable.
2016-12-12 17:42:18 +02:00
Vladimir Mihailenco c7dfbb54af Fix nil ptr in case when all nodes are unavailable. 2016-12-12 17:30:08 +02:00
Vladimir Mihailenco 7f2a0bff84 Merge pull request #440 from go-redis/fix/cmd-info-check
Simplify cmdInfo check.
2016-12-09 16:02:40 +02:00
Vladimir Mihailenco 420337dc4a Simplify cmdInfo check. 2016-12-09 15:52:36 +02:00
Vladimir Mihailenco 4ce47a025f Merge pull request #438 from rayzyar/cmdInfoNil
fix cmdInfo nil pointer panic
2016-12-09 15:51:33 +02:00
Vladimir Mihailenco 30be278fea Merge pull request #439 from rayzyar/evalShaFirstKey
evalsha with 0 key should return -1 pos
2016-12-09 15:50:34 +02:00
zezhou.yu fb584d25db
fix cmdInfo nil pointer panic 2016-12-08 01:34:22 +08:00
zezhou.yu e916395f6c
evalsha with 0 key should return -1 pos 2016-12-08 01:29:17 +08:00
Vladimir Mihailenco 854c88a72c Merge pull request #434 from go-redis/fix/timeouts
Set read/write timeouts more consistently.
2016-12-03 17:45:52 +02:00
Vladimir Mihailenco b4efc45f1c Set read/write timeouts more consistently. 2016-12-03 17:30:13 +02:00
Vladimir Mihailenco e7f23a300b Merge pull request #431 from go-redis/fix/instrum-example
Fix WrapProcess for Ring and Cluster. Add better example.
2016-11-30 13:06:44 +02:00
Vladimir Mihailenco 82f21639bf Fix WrapProcess for Ring and Cluster. Add better example. 2016-11-30 13:00:53 +02:00
Vladimir Mihailenco b148c1afd3 Merge pull request #428 from nathan-jones/readme-typo
Fixed Readme typo ZRangeBy
2016-11-28 14:03:22 +02:00
Nathan Jones 2fb4a785f3 Fixed Readme typo ZRangeBy 2016-11-27 12:27:58 +00:00
Vladimir Mihailenco ecc6a4909b Merge pull request #427 from go-redis/fix/instrumentation-example
Add instrumentation example.
2016-11-26 11:09:03 +02:00
Vladimir Mihailenco d4a3b1f282 Add instrumentation example. 2016-11-26 10:33:06 +02:00
Vladimir Mihailenco f8ad82370f Merge pull request #423 from go-redis/fix/string-command
Use string val in StringCmd.
2016-11-20 10:07:49 +02:00
Vladimir Mihailenco a20665f042 Use string val in StringCmd. 2016-11-20 09:50:49 +02:00
Vladimir Mihailenco c985686167 Merge pull request #418 from go-redis/fix/limit-alloc
Limit allocation.
2016-11-19 14:14:48 +02:00
Vladimir Mihailenco d3f9a9f91c Merge pull request #420 from freeformz/rediss
Add support for parsing redis:// and rediss:// URLs
2016-11-19 14:13:30 +02:00
Edward Muller df2009821f Default to secure
I suspect that many people will need InsecureSkipVerify:true though, but
that should be an explicit decision to expose security issues instead of
papering over them.
2016-11-16 10:35:35 -08:00
Edward Muller 4aa583b6f8 Updates based on PR feedback 2016-11-15 10:27:20 -08:00
Edward Muller 70eddf606d Place these tests behind a build tag
Sub test support doesn't work for go < 1.7
2016-11-14 09:40:12 -08:00
Edward Muller 019ff6eb38 Add support for parsing redis:// and rediss:// URLs
This includes setting up a default dialer that handles the ssl
handshake.
2016-11-14 08:50:05 -08:00
Vladimir Mihailenco 62cd3b38ef Limit allocation. 2016-11-09 10:13:03 +02:00
Vladimir Mihailenco b6bfe529a8 Merge pull request #416 from go-redis/fix/cluster-state
Use consistent cluster state when executing pipeline.
2016-11-08 12:04:23 +02:00
Vladimir Mihailenco 6324604106 Merge pull request #415 from go-redis/fix/govet
travis: run go vet
2016-11-08 11:50:33 +02:00
Vladimir Mihailenco 83208a1d9b Use consistent cluster state when executing pipeline. 2016-11-08 11:46:44 +02:00
Vladimir Mihailenco ae523dd552 travis: run go vet 2016-11-06 13:37:23 +02:00
Vladimir Mihailenco 80cf5d1652 Merge pull request #409 from bpiddubnyi/bugfix/setxx-zero-ex
Fix "invalid expire time in set" for SetXX with expiration = 0
2016-10-24 12:52:32 +03:00
Borys Piddubnyi cb63f1fd69 Add test for SetXX with expiration = 0 2016-10-21 17:14:51 +03:00
Borys Piddubnyi 50f1aff778 Fix "invalid expire time in set" for SetXX with expiration = 0 2016-10-21 15:40:53 +03:00
Vladimir Mihailenco 084336d5eb Merge pull request #407 from go-redis/fix/time-cmd
Fix/time cmd
2016-10-14 14:50:30 +03:00
Vladimir Mihailenco 3996289fe2 internal/proto: use read prefix to indicate that method reads from the stream. 2016-10-14 14:46:35 +03:00