zhuyanhuazhuyanhua commented on issue #1315:
URL: https://github.com/apache/dubbo-admin/issues/1315#issuecomment-3394320016

   2.注册中心初步实现接口
   ```go
   package registry
   
   import "context"
   
   type ZookeeperAdapter struct {
        conn *zk.Conn
   }
   
   func (z *ZookeeperAdapter) ListServices() ([]*AtomicResource, error) {
   
   }
   
   func (z *ZookeeperAdapter) WatchChanges(ctx context.Context) (<-chan 
RegistryEvent, error) {
   
   }
   ```
   ```go
   package registry
   
   type NacosAdapter struct {
        client naming_client.INamingClient
   }
   
   func (n *NacosAdapter) ListServices() ([]*AtomicResource, error) {
   }
   ```


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