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

增加结构注册rpc的时候,可以指定具体注册哪些成员方法的接口 #581

Open
dengzhaofun opened this issue May 11, 2021 · 3 comments

Comments

@dengzhaofun
Copy link

事情是这样的, 我打算把Http Handler, jsonrpc, rcpx 均采用统一的接口格式. 这样可以专注编写service层, Http Handler, jsonrpc 这俩个我们都可以做到哪些导出给这些协议,哪些不导出.但是rpcx暂时需要接口支持.

@smallnest
Copy link
Owner

不太理解。意思是对于一个服务,只注册部分方法?

@dengzhaofun
Copy link
Author

@smallnest 是的!!! 避免暴露不该暴露的接口

@smallnest
Copy link
Owner

@smallnest 是的!!! 避免暴露不该暴露的接口

了解了,对于rpcx, 准确的说 "避免暴露不该暴露的方法"

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

No branches or pull requests

2 participants