Commit Graph

13 Commits

Author SHA1 Message Date
monkey92t 8ad01240a4
Add support for resp3 protocol (#1739)
* support resp3 protocol

Signed-off-by: monkey <golang@88.com>

* Upgrade mod version limit go1.14

https://github.com/go-redis/redis/issues/1715#issuecomment-820685614

Signed-off-by: monkey <golang@88.com>

* Remove the redundant check of ReadReply

Signed-off-by: monkey <golang@88.com>

* fix the problem

Signed-off-by: monkey <golang@88.com>

* workflows add v9

Signed-off-by: monkey <golang@88.com>

* update StringStringMapCmd to MapStringStringCmd

Signed-off-by: monkey <golang@88.com>
2021-04-27 10:04:46 +03:00
Vladimir Mihailenco 38c87c1f84 Fix golangci 2020-07-16 10:01:27 +03:00
ocallaco c9f2e839d2
add NewTimeCmdResult to allow unit testing with TimeCmd (#1298)
* add NewTimeCmdResult to allow unit testing with TimeCmd

Co-authored-by: Conall OCallaghan <cocallaghan@nvidia.com>
2020-04-18 09:05:16 +03:00
git-hulk d52b11cb42 Exported the setErr function as public 2020-02-03 17:53:47 +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
James Cox fb31d51fc3 add NewXStreamSliceCmdResult to initialise XStreamSliceCmd for testing 2019-09-06 11:45:52 +01:00
James Cox 74177b12f8 add NewXMessageSliceCmdResult to initialise XMessageSliceCmd for testing 2019-09-06 11:44:45 +01:00
Amr Hanafi (MAHDI)) 03eeba66c1 Add NewZWithKeyCmdResult to initialize ZWithKeyCmd for testing 2019-07-07 14:47:18 -07:00
Vladimir Mihailenco 00de347403 Optimize reading big values 2018-08-16 14:01:03 +03:00
Cyrille Hemidy 9ccc23344a Update result.go (#754)
fix misspelling
2018-04-17 09:18:16 +03:00
Vladimir Mihailenco 69554c0ec5 Reduce number of allocations. 2017-01-13 13:39:59 +02:00
Vladimir Mihailenco a20665f042 Use string val in StringCmd. 2016-11-20 09:50:49 +02:00
Dom d07be2cd04 Add Cmd constructors for testing/mock purposes. 2016-08-22 21:20:49 +01:00