Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rfyiamcool/grpc-client-pool
grpc client pool for grpc-sidecar and grpc-proxy.
https://github.com/rfyiamcool/grpc-client-pool
golang grpc grpc-client grpc-client-connection-pool grpc-client-pool grpc-pool
Last synced: 3 months ago
JSON representation
grpc client pool for grpc-sidecar and grpc-proxy.
- Host: GitHub
- URL: https://github.com/rfyiamcool/grpc-client-pool
- Owner: rfyiamcool
- Created: 2019-07-30T03:14:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-26T07:41:25.000Z (about 3 years ago)
- Last Synced: 2024-09-30T15:41:34.599Z (3 months ago)
- Topics: golang, grpc, grpc-client, grpc-client-connection-pool, grpc-client-pool, grpc-pool
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 76
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grpc-client-pool
grpc-client-pool's scenes are mainly about grpc-sidecar and grpc-proxy !
## desc
Each grpc request contains PATH in http2 header, the path is fullMethod.
**what is fullMethod ?**
```
/api.v1.election.CandidateSvc/Register
```**what is serviceName ?**
```
/api.v1.election.CandidateSvc
```**what is methodName ?**
```
/Register
```## process
1. init grpc client pool
2. get grpc-client by grpc fullMethod/serviceName
3. use gprc invoke request/response.