MarkJoyMa
c05e03bb5a
feat: add metrics ( #3624 )
1 year ago
Kevin Wan
922efbfc2d
chore: refactor zrpc timeout ( #3671 )
1 year ago
vankillua
842c4d81cc
feat: support the specified timeout of rpc methods ( #2742 )
...
Co-authored-by: hanzijian <hanzijian@52tt.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
1 year ago
Kevin Wan
36bbc6a2e2
chore: add error handling on registering event handlers to k8s ( #3663 )
1 year ago
Kevin Wan
c2ff00883a
chore: update restful/grpc servers shutdown stages ( #3662 )
1 year ago
Kevin Wan
42e0a6f90c
chore: refactor errors to use errors.Is ( #3654 )
1 year ago
Kevin Wan
6821b0a7dd
chore: upgrade grpc ( #3558 )
1 year ago
MarkJoyMa
92f6c48349
fix: NewClientWithTarget miss default config ( #3358 )
1 year 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
8f5a0a2de7
fix: remove etcd pings to avoid too-many-pings error ( #3212 )
2 years ago
cong
8ad0668612
fix(zrpc): remove default keepalive params for NewClientWithTarget ( #3208 )
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
MarkJoyMa
e20b02f311
gateway: open timeout function cabinet ( #3047 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
Kevin Wan
117611a170
fix: default value for keepalive set to 0 ( #3152 )
2 years ago
cong
22fad4bb9c
feat(trace): add trace test helpers ( #3108 )
2 years ago
Kevin Wan
98c9b5928a
refactor: simplify zrpc stat config ( #3107 )
2 years ago
cong
49135fe25e
refactor(zrpc): prefer static config for zrpc server statinterceptor ( #3105 )
2 years ago
cong
b49fc81618
refactor(redistest): simplify redistest.CreateRedis API ( #3086 )
2 years ago
Kevin Wan
04434646eb
chore: refactor zrpc setup ( #3064 )
2 years ago
Kevin Wan
f77e2c9cfa
chore: add more tests ( #3014 )
2 years ago
Shyunn
544aa7c432
Added zrpc server custom serverID for custom registration Key when the service is registered on ETCD. ( #3008 )
2 years ago
Kevin Wan
fbf129d535
chore: add more tests ( #3010 )
2 years ago
Kevin Wan
dc5b8dd716
feat: support grpc client keepalive config ( #2950 )
2 years ago
Kevin Wan
8bc34c58f4
fix: test failures ( #2892 )
...
Co-authored-by: kevin.wan <kevin.wan@yijinin.com>
2 years ago
Kevin Wan
0a5a26385d
chore: add more tests ( #2866 )
...
* chore: add more tests
* chore: add more tests
* chore: fix test failure
2 years ago
MarkJoyMa
dd117ce9cf
feat: converge grpc interceptor processing ( #2830 )
...
* feat: converge grpc interceptor processing
* x
* x
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
7e0ac77139
feat: upgrade go to v1.18 ( #2817 )
...
* feat: upgrade go to v1.18
* feat: upgrade go to v1.18
2 years ago
Kevin Wan
696da4efee
chore: add more tests ( #2815 )
...
* 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
ceab564429
chore: add more tests ( #2814 )
2 years ago
Kevin Wan
4bd8025c5b
chore: add more tests ( #2812 )
...
* chore: add more tests
* chore: add more tests
2 years ago
Kevin Wan
4bed34090f
chore: add more tests ( #2800 )
2 years ago
Kevin Wan
6340e24c17
chore: add tests ( #2774 )
2 years ago
Kevin Wan
74e0676617
feat: add config to truncate long log content ( #2767 )
2 years ago
Kevin Wan
0c786ca849
chore: remove simple methods, inlined ( #2768 )
2 years ago
Kevin Wan
26c541b9cb
feat: add middlewares config for zrpc ( #2766 )
...
* feat: add middlewares config for zrpc
* chore: add tests
* chore: improve codecov
* chore: improve codecov
2 years ago
Kevin Wan
fdc57d07d7
fix : #2672 ( #2681 )
...
* fix : #2672
* chore: fix more cases
* chore: update deps
* chore: update deps
* chore: refactor
* chore: refactor
* chore: refactor
2 years ago
re-dylan
ef22042f4d
feat: add dev server and health ( #2665 )
...
* feat: add dev server and health
* fix: fix ci
* fix: fix comment.
* feat: add enabled
* remove no need test
* feat: mv devServer to internal
* feat: default enable pprof
Co-authored-by: dylan.wang <dylan.wang@yijinin.com>
2 years ago
benqi
3604659027
fix: fix client side in zeromicro#2109 (zeromicro#2116) ( #2659 )
...
* fix: fix client side in zeromicro#2109 (zeromicro#2116)
* fix: fix client side in zeromicro#2109 (zeromicro#2116)
* fix: fix client side in zeromicro#2109 (zeromicro#2116)
2 years ago
bigrocs
90828a0d4a
The default port is used when there is no port number for k8s ( #2598 )
...
* k8s 没有端口号时使用默认端口
* Modify the not port test
2 years ago
Kevin Wan
1677a4dceb
feat: conf inherit ( #2568 )
...
* feat: add ValuerWithParent
* feat: make etcd config inherit from parents
* chore: add more tests
* chore: add more tests
* chore: add more comments
* chore: refactor
* chore: add more comments
* fix: fix duplicated code and refactor
* fix: remove unnecessary code
* fix: fix test case for removing print
* feat: support partial inherit
2 years ago
Kevin Wan
46e236fef7
chore: add more tests ( #2547 )
2 years ago
chowyu12
c92a2d1b77
feat: remove info log when disable log ( #2525 )
...
* add go-grpc_opt and go_opt for grpc new command
* feat: remove log when disable log
Co-authored-by: zhouyy <zhouyy@ickey.cn>
2 years ago
Kevin Wan
05a5de7c6d
chore: fix lint errors ( #2520 )
2 years ago
#Suyghur
74cc6b55e8
fix: replace Infof() with Errorf() in DurationInterceptor ( #2495 ) ( #2497 )
2 years ago
Kevin Wan
773b59106b
chore: remove init if possible ( #2485 )
2 years ago
Kevin Wan
1f6688e5c1
chore: refactor the imports ( #2406 )
2 years ago
dawn_zhou
ae7f1aabdd
feat: mysql and redis metric support ( #2355 )
...
* feat: mysql and redis metric support
* feat: mysql and redis metric support
* feat: mysql and redis metric support
Co-authored-by: dawn.zhou <dawn.zhou@yijinin.com>
2 years ago