-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trpc-go doesn't support gRPC protocol? #139
Comments
if the protocol config option in trpc_go.yaml config use http and proto definition by protobuf,it means client access server by gRPC? |
No, it is actually HTTP-RPC, refer to: https://github.com/trpc-group/trpc-go/tree/main/http |
if we use rpc over http, what's the format of the url path client accessing service ? |
trpc-go integrete grpc by codec in trpc-ecosystem,how to modify main.go? |
https://github.com/trpc-group/trpc-go/tree/main/http#custom-url-path Something like |
You may check the examples: https://github.com/trpc-ecosystem/go-codec/blob/main/grpc/examples/clients/grpc/main.go |
|
what's the difference between gRPC and tgprc? |
The tRPC framework itself is an extremely flexible and plugin-based structure. tgrpc is the result of integrating the server/client capabilities of gRPC into the tRPC framework. By using tgrpc, you can leverage various plugin capabilities of tRPC server/client while also interacting with other gRPC server/clients. |
Does the pan-http rpc service support rpc-web client ? for example nice-rpc-web |
"pan-http rpc service" is essentially HTTP service, not of trpc/grpc protocols. You may try to use tgrpc server examples: https://github.com/trpc-ecosystem/go-codec/blob/main/grpc/examples/servers/tgrpc/main.go |
Does it have js client ? |
You can assume it is served as a normal grpc service, any tool that is used to connect to grpc service can be used with it. |
ok. Thank you! |
Preliminary Research
Question
Additional Information
The text was updated successfully, but these errors were encountered: