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
Kevin Wan
1bc138bd34
chore: refactor to reduce duplicated code ( #2477 )
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
f7a60cdc24
fix: remove deprecated dependencies ( #1837 )
...
* fix: remove deprecated dependencies
* backup
* fix test error
3 years ago
杨圆建
d58cf7a12a
fix: Hdel check result & Pfadd check result ( #1801 )
3 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
9e113909b3
ignore context.Canceled for redis breaker ( #1545 )
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
shenbaise9527
13db7a1931
feat: 支持redis的LTrim方法 ( #1443 )
3 years ago
Kevin Wan
eb4b86137a
fix: golint issue ( #1423 )
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
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
cd21c9fa74
chore: mark redis.NewRedis as Deprecated, use redis.New instead. ( #1100 )
...
* chore: mark redis.NewRedis as Deprecated
* chore: mark redis.NewRedis as Deprecated
3 years ago
lucaq
e77747cff8
redis.go,type StringCmd = red.StringCmd ( #790 )
...
* Add Sinter,Sinterstore; Modify TestRedis_Set
* type StringCmd
* redis.go,type StringCmd = red.StringCmd
Co-authored-by: lucq <lucq@toopsoon.com>
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
73906f996d
chore(format): change by gofumpt tool ( #697 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 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
hanhotfox
c954568b61
Hdel support for multiple key deletion ( #542 )
...
* Hdel support for multiple key deletion
* Hdel field -> fields
Co-authored-by: duanyan <duanyan@xiaoheiban.cn>
4 years ago
Kevin Wan
39540e21d2
fix golint issues ( #540 )
4 years ago
hexiaoen
b321622c95
暴露redis EvalSha 以及ScriptLoad接口 ( #538 )
...
Co-authored-by: shanehe <shanehe@zego.im>
4 years ago
Kevin Wan
c566b5ff82
fix golint issues in core/stores ( #527 )
4 years ago
Zcc、
fdeacfc89f
add redis bitmap command ( #490 )
...
Co-authored-by: zhoudeyu <zhoudeyu@xiaoheiban.cn>
4 years ago
Kevin Wan
802549ac7c
fix golint issues in core/executors ( #484 )
4 years ago
Zcc、
72580dee38
redis add bitcount ( #483 )
...
Co-authored-by: zhoudeyu <zhoudeyu@xiaoheiban.cn>
4 years ago
Kevin Wan
5e969cbef0
fix golint issues, else blocks ( #457 )
4 years ago
Kevin Wan
42883d0899
fix golint issues, redis methods ( #455 )
4 years ago
Kevin Wan
30f5ab0b99
update readme for broken links ( #432 )
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
bittoy
3819f67cf4
add redis geospatial ( #209 )
...
* add redis geospatial
* fix go test error
4 years ago
mywaystay
33faab61a3
add redis Zrevrank ( #137 )
...
* update goctl rpc template log print url
* add redis Zrevrank
Co-authored-by: zhangkai <zhangkai@laoyuegou.com>
4 years ago
kevin
0a7e0cce77
update package reference
4 years ago
kevin
7e3a369a8f
initial import
4 years ago