43 Commits

Author SHA1 Message Date
235f0a2df8 add using lazy connect 2024-11-26 13:15:21 +03:00
27eccc1ed2 fixup nil pointer assign
Some checks failed
codeql / analyze (go) (push) Failing after 41s
build / test (push) Failing after 4m52s
build / lint (push) Successful in 9m29s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-10-08 16:52:26 +03:00
7c641fa8ac fixup nil pointer assign
Some checks failed
codeql / analyze (go) (push) Failing after 39s
build / test (push) Failing after 4m55s
build / lint (push) Has been cancelled
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-10-08 16:47:27 +03:00
953b5b0021 fixup default redis default local addr
Some checks failed
codeql / analyze (go) (push) Failing after 37s
build / test (push) Failing after 4m54s
build / lint (push) Successful in 9m29s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-10-06 18:49:50 +03:00
87e2e2b947 switch to universal client
Some checks failed
codeql / analyze (go) (push) Failing after 1m30s
build / test (push) Failing after 5m13s
build / lint (push) Successful in 9m40s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-10-05 16:11:46 +03:00
256e61a437 fixup slice override
Some checks failed
build / test (push) Failing after 7s
build / lint (push) Failing after 7s
codeql / analyze (go) (push) Failing after 10s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-09-25 15:27:53 +03:00
4484cd34ec unify span names
Some checks failed
build / lint (push) Successful in 23s
build / test (push) Failing after 1m29s
codeql / analyze (go) (push) Failing after 1m55s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-07-05 09:16:08 +03:00
aed9512b93 improve metrics and tracing
Some checks failed
build / lint (push) Successful in 40s
build / test (push) Failing after 1m43s
codeql / analyze (go) (push) Failing after 3m9s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-07-04 15:13:19 +03:00
de72a10973 rework cluster mode
Some checks failed
build / test (push) Failing after 1m32s
codeql / analyze (go) (push) Failing after 1m48s
build / lint (push) Successful in 9m15s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-23 09:30:35 +03:00
62c2de51d4 fixup strings pool
Some checks failed
build / test (push) Has been cancelled
build / lint (push) Has been cancelled
codeql / analyze (go) (push) Has been cancelled
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-15 08:41:58 +03:00
741b2310ec add tracer support
Some checks failed
build / test (push) Failing after 1m32s
codeql / analyze (go) (push) Failing after 1m35s
build / lint (push) Successful in 9m14s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-14 22:40:30 +03:00
1e8a44b088 add meter support
Some checks failed
build / test (push) Failing after 1m14s
codeql / analyze (go) (push) Failing after 1m58s
build / lint (push) Successful in 9m26s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-14 22:27:28 +03:00
db770c3fe7 add ability to get *redis.Client
Some checks failed
codeql / analyze (go) (pull_request) Failing after 2m48s
prbuild / test (pull_request) Failing after 1m30s
prbuild / lint (pull_request) Failing after 2m37s
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:48:47 +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