MarkJoyMa
7d90f906f5
feat: migrate redis breaker into hook ( #3982 )
9 months ago
mongobaba
459d3025c5
optimize: change err == xx to errors.Is(err, xx) ( #3991 )
9 months ago
Kevin Wan
159ecb7386
chore: fix warnings ( #3989 )
9 months ago
Kevin Wan
74b87ac9fd
chore: coding style ( #3972 )
9 months ago
Kevin Wan
45be48a4ee
chore: coding style ( #3959 )
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
9e33b557b1
chore: refactor redis ( #3844 )
11 months ago
Kevin Wan
368caa7608
feat: upgrade go-redis to v9 ( #3088 )
...
Co-authored-by: cong <zhangcong1992@gmail.com>
11 months ago
Qiu shao
431f9af43e
feat:add redis ExistsMany method ( #3769 )
12 months ago
Summer-lights
400386459c
fix(redis): redis ttl -1 and -2 ( #3783 )
12 months ago
Kevin Wan
a1fca3a1da
chore: upgrade go dependencies ( #3657 )
1 year ago
Kevin Wan
9394e59597
chore: update goctl version to 1.6.0 ( #3674 )
1 year ago
MarkJoyMa
c05e03bb5a
feat: add metrics ( #3624 )
1 year ago
Kevin Wan
42e0a6f90c
chore: refactor errors to use errors.Is ( #3654 )
1 year ago
Kevin Wan
421e6617b1
chore: add more tests ( #3592 )
1 year ago
Kevin Wan
84adc054bc
chore: add more tests ( #3296 )
2 years ago
me-cs
0217044900
update:Use the Milliseconds method of duration to get the number of milliseconds ( #3285 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
Kevin Wan
8ffe4c01d1
chore: use logx.Must instead of log.Fatal ( #3189 )
2 years ago
Kevin Wan
14caf5c799
chore: simplify tests with logtest ( #3184 )
2 years ago
cong
5da8a93c75
feat(redis): add ScriptRun API and migrate EvalCtx to ScriptRun for limit, lock and bloom ( #3087 )
2 years ago
cong
b49fc81618
refactor(redistest): simplify redistest.CreateRedis API ( #3086 )
2 years ago
cong
95b85336d6
refactor(redis): add NonBlock config, disable redis ping by default ( #3073 )
2 years ago
Kevin Wan
7a0c04bc21
feat: unique redis addrs and trim spaces ( #3004 )
2 years ago
文豆芽
f8b2dc8c9f
reids cluster bug ( #2986 )
...
Co-authored-by: shaocongcong <shao.congcong@yalla.live>
2 years ago
fabio
cb7f3e8a17
feat(redis):add LpopCount,RpopCount ( #2990 )
2 years ago
anqiansong
a2592a17e9
format code
2 years ago
anqiansong
05abf4a2ff
fix typo
2 years ago
Kevin Wan
a05fe7bf0a
chore: remove optional in redis config ( #2979 )
2 years ago
Kevin Wan
a5e5f04bcf
chore: reformat code ( #2925 )
2 years ago
chenquan
3bc40d9eaf
fix: fixed the bug that old trace instances may be fetched
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
Kevin Wan
367afb544c
feat: support ptr of ptr of ... in mapping ( #2779 )
...
* feat: support ptr of ptr of ... in mapping
* feat: support ptr of ptr of time.Duration in mapping
* feat: support ptr of ptr of json.Number in mapping
* chore: improve setting in mapping
* feat: support ptr of ptr encoding.TextUnmarshaler in mapping
* chore: add more tests
* fix: string ptr
* chore: update tests
2 years ago
#Suyghur
69d355eb4b
feat(redis): add zscan command implementation ( #2729 ) ( #2751 )
2 years ago
王哈哈
dac3600b53
Modify comment syntax error ( #2572 )
2 years ago
Kevin Wan
9cadab2684
chore: refactor ( #2545 )
...
* chore: refactor
* chore: refactor
2 years ago
swliao425
b21162d638
fix: redis's pipeline logs are not printed completely ( #2538 )
...
* fix: redis's pipeline logs are not printed completely
* add unit test
Signed-off-by: liaoshiwei <liaoshiwei@uniontech.com>
Signed-off-by: liaoshiwei <liaoshiwei@uniontech.com>
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
dawn_zhou
d640544a40
refactor: redis error for prometheus metric label ( #2412 )
...
Co-authored-by: dawn.zhou <dawn.zhou@yijinin.com>
2 years ago