LaurenceLiZhixin opened a new pull request #1216:
URL: https://github.com/apache/dubbo-go/pull/1216


   <!--  Thanks for sending a pull request!
   Read https://github.com/apache/dubbo-go/blob/master/contributing.md before 
commit pull request.
   -->
   
   **What this PR does**:
   add grpc server reflection register logic
   **Which issue(s) this PR fixes**:
   <!--
   *Automatically closes linked issue when PR is merged.
   Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
   _If PR is about `failing-tests or flakes`, please post the related 
issues/tests in a comment and do not use `Fixes`_*
   -->
   Fixes #1215
   
   **Special notes for your reviewer**:
   增加grpc server的reflection.Register逻辑,为grpcurl调试工具提供支持。
   
开发者需要注意,在使用grpcurl调试的过程中,传递的`接口名/方法名`需要与编译后的pb.go文件内一致,并非Dubbo-go框架配置中的InterfaceName,对于这个InterfaceName,框架只用于进行服务注册发现,网络请求逻辑还是走的grpc,也就是.pb.go文件内的`接口名/方法名`
   
   **Does this PR introduce a user-facing change?**:
   <!--
   If no, just write "NONE" in the release-note block below.
   If yes, a release note is required:
   Enter your extended release note in the block below. If the PR requires 
additional action from users switching to the new release, include the string 
"action required".
   -->
   ```release-note
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to