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

申请将 newServantProxy 变成公共函数 #220

Merged
merged 3 commits into from
Jul 17, 2020

Conversation

Andrew-M-C
Copy link
Contributor

在 v1.1.1 之前,servant proxy 可以通过 Init() 函数自定义调用,这样一来我们可以在比较底层的层面进行一些调用,如自行按照协议组装包。但是 v1.1.2 之后取消了 Init() 函数,变成一个内部的 newServantProxy(),并且没有其他的方法自行初始化一个 proxy。
为了向前兼容,因此申请重新打开该功能,增加 NewServantProxy 函数。

@franklee0817
Copy link
Contributor

that's a good idea. thanks for your contribution

@franklee0817 franklee0817 merged commit b7835f3 into TarsCloud:master Jul 17, 2020
YiFabao pushed a commit to YiFabao/TarsGo that referenced this pull request Jul 20, 2020
申请将 newServantProxy 变成公共函数
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants