You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/01/03 03:07:11 UTC

[GitHub] [dubbo-go] jack15083 commented on a change in pull request #940: Add GetInvoker function for referenceConfig && Fix refresh invoker nil when zk reconnect

jack15083 commented on a change in pull request #940:
URL: https://github.com/apache/dubbo-go/pull/940#discussion_r550948732



##########
File path: config/reference_config.go
##########
@@ -248,3 +248,8 @@ func (c *ReferenceConfig) GenericLoad(id string) {
 	c.Refer(genericService)
 	c.Implement(genericService)
 }
+
+// GetInvoker get invoker from ReferenceConfig
+func (c *ReferenceConfig) GetInvoker() protocol.Invoker {

Review comment:
       为啥不能暴露出去,暴露出去的话可能以后更方便扩展吧




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org