33 Commits

Author SHA1 Message Date
c8d21b4ef4 Replace RedisCluster to RedisUniversalClient (#114)
Some checks failed
build / test (push) Failing after 12s
build / lint (push) Failing after 15s
codeql / analyze (go) (push) Failing after 14m50s
1. Replace redis.Client to redis.UniversalClient
2. Replace ClusterConfig to UniversalConfig

closes #113

Co-authored-by: Aleksandr Tolstikhin <atolstikhin@mtsbank.ru>
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
Reviewed-on: #114
Reviewed-by: Василий Толстов <v.tolstov@unistack.org>
Co-authored-by: Александр Толстихин <tolstihin1996@mail.ru>
Co-committed-by: Александр Толстихин <tolstihin1996@mail.ru>
2024-10-04 00:20:23 +03:00
b263b69031 add ability to get *redis.Client
Some checks failed
codeql / analyze (go) (pull_request) Failing after 2m41s
prbuild / test (pull_request) Failing after 1m29s
prbuild / lint (pull_request) Failing after 2m34s
autoapprove / autoapprove (pull_request) Failing after 1m26s
automerge / automerge (pull_request) Failing after 4s
dependabot-automerge / automerge (pull_request) Has been skipped
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-12-12 13:52:37 +03:00
b90361e48a add MWrite func
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-10-21 00:57:12 +03:00
7ae302d438 add MSet func (#108)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
Reviewed-on: #108
2023-10-20 23:51:29 +03:00
8e516544f5 add MDelete
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-03-30 20:30:31 +03:00
c9ce8498d2 fix double init with empty context error
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-03-17 12:40:50 +03:00
ede2cf695c tune default redis opts, add tls config support
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-02-01 01:48:47 +03:00
edb352fd48 add MGet/Mset methods
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-10-26 13:47:11 +03:00
da1b9deee3 limit timeout
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-07-08 23:17:14 +03:00
764e5dc1d7 fix for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-11-24 15:23:47 +03:00
f38d49c30b update import paths
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-27 23:29:16 +03:00
a3cb7dabae fix Exists method
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-20 22:49:30 +03:00
bf18c371f3 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 22:47:57 +03:00
00c4216ed2 use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 03:00:25 +03:00
camba1
161c60fcf4 Added ability to use username and password in Redis url (#572)
* Added ability to use username and password in the url used to access redis. Upgraded redis client from 5 to 7.

* Commented out the test that tried to write to the redis instance and thus caused automated test to fail

* Added code to skip test_Store test during automated CI run

Co-authored-by: Juan Peredo <jperedo@bolbeck.com>
2021-01-16 02:59:23 +03:00
doubleycn@qq.com
f7b907b40b fix bug https://github.com/micro/go-plugins/issues/565 (#569)
* fix bug https://github.com/micro/go-plugins/issues/565

* del Redundant code

Co-authored-by: 杨羽 <yangyu@doumi.com>
2021-01-16 02:59:23 +03:00
doubleycn@qq.com
7eb9a721f7 fix bug https://github.com/micro/go-plugins/issues/565 (#566)
Co-authored-by: 杨羽 <yangyu@doumi.com>
2021-01-16 02:59:23 +03:00
fe98f4a5f9 store/redis: use operation options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
75f6ce0868 store/redis: use operation options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
7ddb0aab10 store: respect Init options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
9b5c546216 store/redis: fix key prefix usage (#522)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
dfad852578 store: fix for never go-micro (#521)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
30c2bba42e update to latest go-micro (#506)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
Asim Aslam
bb3dc26864 Store interface fixes 2021-01-16 02:59:23 +03:00
768898d373 fix import path for v2 release (#457)
* fix import path for v2 release

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
Asim Aslam
e64808d638 updates for breaking changes in go-micro 2021-01-16 02:59:23 +03:00
7bf60f879d linting fixes, go.mod fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
Asim Aslam
0658d8ea0a Sync moves to List 2021-01-16 02:59:23 +03:00
2766eceb32 fixup go.mod
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 02:59:23 +03:00
Asim Aslam
3f90baa4de Update to latest go-micro and fix breaks 2021-01-16 02:59:23 +03:00
Asim Aslam
ce907ad7c0 Update the location of data and cmd 2021-01-16 02:59:23 +03:00
Asim Aslam
ff11ed93e7 update options location 2021-01-16 02:59:23 +03:00
Asim Aslam
e3311a768f Move data to store 2021-01-16 02:59:23 +03:00