Commit Graph

11 Commits (e20ccdd0113f8d5ba269f8d936f52249f423f4a0)

Author SHA1 Message Date
Kevin Wan 42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 1 year 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 ed1c937998
feat: convert grpc errors to http status codes (#1997)
* feat: convert grpc errors to http status codes

* chore: circuit break include unimplemented grpc error

* chore: add reference link in comments
2 years ago
Kevin Wan 50a6bbe6b9
format coding style (#970) 3 years ago
chenquan dfb3cb510a
Fix context error in grpc (#962)
* Fix context error in rpc

* Add a test case

* Optimize judgment conditions

* Add customized breaker errors for the client and server

* Update method signature

* Delete customized breaker errors

* Delete the wrong test case
3 years ago
Kevin Wan a21ff71373
fix #889 (#912) 3 years ago
zjbztianya d88da4cc88
Replace contextx.ShrinkDeadline with context.WithTimeout (#598) 4 years ago
Kevin Wan 9e6c2ba2c0
avoid goroutine leak after timeout (#575) 4 years ago
Kevin Wan 4884a7b3c6
zrpc timeout & unit tests (#573)
* zrpc timeout & unit tests
4 years ago
Kevin Wan 51de0d0620
fix golint issues in zrpc (#531) 4 years ago
kevin 0b1ee79d3a rename rpcx to zrpc 4 years ago