MarkJoyMa
7d90f906f5
feat: migrate redis breaker into hook ( #3982 )
9 months ago
Kevin Wan
a5d2b971a1
chore: add more tests ( #3958 )
9 months ago
Qiu shao
9763c8b143
feat:add redis mset func ( #3820 )
9 months ago
Kevin Wan
8e97c5819f
chore: add more tests ( #3954 )
9 months ago
#Suyghur
0ee44c7064
feat(redis): added and impl `ZADDNX` command ( #3944 )
9 months ago
Kevin Wan
368caa7608
feat: upgrade go-redis to v9 ( #3088 )
...
Co-authored-by: cong <zhangcong1992@gmail.com>
10 months ago
Qiu shao
431f9af43e
feat:add redis ExistsMany method ( #3769 )
11 months ago
cong
5da8a93c75
feat(redis): add ScriptRun API and migrate EvalCtx to ScriptRun for limit, lock and bloom ( #3087 )
2 years ago
cong
95b85336d6
refactor(redis): add NonBlock config, disable redis ping by default ( #3073 )
2 years ago
fabio
cb7f3e8a17
feat(redis):add LpopCount,RpopCount ( #2990 )
2 years ago
cong
64ab00e8e3
refactor: simplify sqlx fail fast ping and simplify miniredis setup in test ( #2897 )
...
* chore(redistest): simplify miniredis setup in test
* refactor(sqlx): simplify sqlx fail fast ping
* chore: close connection if not available
2 years ago
Kevin Wan
3c0dc8435e
chore: improve codecov ( #2828 )
2 years ago
MarkJoyMa
fde05ccb28
feat: add MustNewRedis ( #2824 )
...
* feat: add MustNewRedis
* feat: add MustNewRedis
* feat: add MustNewRedis
* x
* x
* fix ut
* x
* x
* x
* x
* x
2 years ago
Kevin Wan
ae87114282
chore: change interface{} to any ( #2818 )
...
* chore: change interface{} to any
* chore: update goctl version to 1.5.0
* chore: update goctl deps
2 years ago
Kevin Wan
5f02e623f5
chore: add more tests ( #2795 )
...
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
2 years ago
Kevin Wan
963b52fb1b
chore: add more tests ( #2794 )
2 years ago
Kevin Wan
02265d0bfe
chore: add more tests ( #2792 )
...
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
2 years ago
Kevin Wan
b2571883ca
chore: refactor ( #2785 )
...
* chore: refactor
* chore: refactor
2 years ago
Alonexy
00ff50c2cc
add zset withsocre float ( #2689 )
...
* add zset withsocre float
* update
* add IncrbyFloat,HincrbyFloat
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
#Suyghur
69d355eb4b
feat(redis): add zscan command implementation ( #2729 ) ( #2751 )
2 years ago
#Suyghur
0c66e041b5
feat(redis):add timeout method to extend blpop ( #2472 )
2 years ago
chen quan
0316b6e10e
feat(redis): add ZaddFloat & ZaddFloatCtx ( #2291 )
2 years ago
Kevin Wan
e0fa8d820d
feat: return original value of setbit in redis ( #1746 )
3 years ago
Kevin Wan
ec271db7a0
chore: refactor code ( #1699 )
3 years ago
benqi
bbac994c8a
feat: add getset command in redis and kv ( #1693 )
3 years ago
Kevin Wan
822ee2e1c5
feat: update go-redis to v8, support ctx in redis methods ( #1507 )
...
* feat: update go-redis to v8, support ctx in redis methods
* fix compile errors
* chore: remove unused const
* chore: add tracing log on redis
3 years ago
Kevin Wan
0fdd8f54eb
ci: add test for win ( #1503 )
...
* ci: add test for win
* ci: update check names
* ci: use go build instead of go test to verify win test
* fix: windows test failure
* chore: disable logs in tests
3 years ago
shenbaise9527
13db7a1931
feat: 支持redis的LTrim方法 ( #1443 )
3 years ago
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
3 years ago
CrazyZard
a7bd993c0c
commit missing method for redis ( #1325 )
...
* commit `decr ` `decrby` `lindex` missing method for redis
* fix(store_test):TestRedis_DecrBy
* add unit tests for redis commands. And put the functions in alphabetical order
* put the functions in alphabetical order
* add `lindex` unit test
* sort func
3 years ago
Kevin Wan
4f5c30e083
chore: remove unused const ( #1224 )
3 years ago
an
3a510a9138
chore: redislock use stringx.randn replace randomStr func ( #1220 )
3 years ago
Kevin Wan
e8efcef108
update dependencies. ( #1210 )
...
* chore: update dependencies
* chore: update dependencies
* chore: update dependencies
* chore: update dependencies
* chore: fix test failure
3 years ago
Kevin Wan
f13e6f1149
feat: slow threshold customizable in redis ( #1187 )
3 years ago
Kevin Wan
429f85a9de
feat: slow threshold customizable in redis ( #1185 )
...
* feat: slow threshold customizable in redis
* chore: improve config robustness
3 years ago
Kevin Wan
e43357164c
chore: replace redis.NewRedis with redis.New ( #1103 )
3 years ago
lucaq
c9a2a60e28
Add Sinter,Sinterstore & Modify TestRedis_Set ( #779 )
...
* Add Sinter,Sinterstore; Modify TestRedis_Set
* Update redis_test.go
fix test failure
Co-authored-by: lucq <lucq@toopsoon.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
3 years ago
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
4 years ago
Kevin Wan
ee630b8b57
add code coverage ( #615 )
...
* add code coverage
* simplify redis code
4 years ago
Kevin Wan
9963ffb1c1
simplify redis tls implementation ( #606 )
4 years ago
r00mz
8cb6490724
redis增加tls支持 ( #595 )
...
* redis连接增加支持tls选项
* 优化redis tls config 写法
* redis增加tls支持
* 增加redis tls测试用例,但redis tls local server不支持,测试用例全部NotNil
Co-authored-by: liuyi <liuyi@fangyb.com>
Co-authored-by: yi.liu <yi.liu@xshoppy.com>
4 years ago
hexiaoen
b321622c95
暴露redis EvalSha 以及ScriptLoad接口 ( #538 )
...
Co-authored-by: shanehe <shanehe@zego.im>
4 years ago
Zcc、
fdeacfc89f
add redis bitmap command ( #490 )
...
Co-authored-by: zhoudeyu <zhoudeyu@xiaoheiban.cn>
4 years ago
Kevin Wan
c376ffc351
fix golint issues in core/filex ( #485 )
4 years ago
Zcc、
72580dee38
redis add bitcount ( #483 )
...
Co-authored-by: zhoudeyu <zhoudeyu@xiaoheiban.cn>
4 years ago
Kevin Wan
745e76c335
add more tests for stores ( #446 )
4 years ago
foyon
8b273a075c
Support redis command Rpop ( #431 )
...
* ss
* ss
* add go-zero:stores:redis-command:Rpop and redis_test
* Delete 1.go
* support redis command Rpop
Co-authored-by: fanhongyi <fanhongyi@tal.com>
4 years ago
Hkesd
04284e31cd
support hscan in redis ( #428 )
4 years ago
Kevin Wan
a784982030
support zunionstore in redis ( #410 )
4 years ago
Kevin Wan
7a82cf80ce
support k8s deployment yaml generation ( #247 )
...
* simplify code, format makefile
* simplify code
* some optimize by kevwan and benying (#240 )
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
* optimization (#241 )
* optimize docker file generation, make docker build faster
* support k8s deployment yaml generation
Co-authored-by: benying <31179034+benyingY@users.noreply.github.com>
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
Co-authored-by: bittoy <bittoy@qq.com>
4 years ago