Skip to content
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

gf/g: The grpc service of the framework lacks service reflection #3952

Open
wisonlau opened this issue Nov 20, 2024 · 1 comment
Open

gf/g: The grpc service of the framework lacks service reflection #3952

wisonlau opened this issue Nov 20, 2024 · 1 comment
Labels

Comments

@wisonlau
Copy link

wisonlau commented Nov 20, 2024

What do you want to ask?

谷歌官方提供了grpc服务反射proto文件,可以用来把所有接口服务都列出来,而不需要客户端用proto文件去请求自己的服务.这在开发调试的时候可以节约大量的时间,以及能非常方便让k8s监控服务接口.
以下是官方的proto文件:
https://github.com/grpc/grpc-proto/blob/master/grpc/reflection/v1alpha/reflection.proto

不知道框架有没隐藏实现了

@gqcn
Copy link
Member

gqcn commented Nov 22, 2024

No, we did not hide the service list from grpc service. The server of package grpcx is a raw grpc server indeed, it does no extra hidden work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants