LaurenceLiZhixin opened a new issue #1609:
URL: https://github.com/apache/dubbo-go/issues/1609


   exmaple
   ```yaml
   dubbo:
     registries:
       demoZK:
         protocol:   zookeeper
         address: xxx
     protocols:
       triple:
         name: tri
         port: 20000
     provider:
       services:
         GreeterProvider:
           version: "3.0"
     properties: # add this field
       mysql-address: localhost:3306
       mysql-password: root
       redis-address: localhost:6379
       redis-db: 1
   ```
   
   User can get property like:
   ```go
   addr := config.GetProperty("mysql-address", "defualt-address")
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

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