tianxiaoliang commented on a change in pull request #1040:
URL: 
https://github.com/apache/servicecomb-service-center/pull/1040#discussion_r647887559



##########
File path: datasource/datasource.go
##########
@@ -17,12 +17,27 @@
 
 package datasource
 
+import (
+       "context"
+)
+
 // DataSource is the DAO layer
 type DataSource interface {
-       SystemManager
-       AccountManager
-       RoleManager
-       DependencyManager
-       MetadataManager
-       SCManager
+       SystemManager() SystemManager
+       AccountManager() AccountManager
+       RoleManager() RoleManager
+       DependencyManager() DependencyManager
+       MetadataManager() MetadataManager
+       SCManager() SCManager
+}
+
+type DataEvent struct {
+       Type string
+       Data interface{}
+}
+type Watcher interface {
+       Result() <-chan *DataEvent
+}
+type DataWatcher interface {

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


Reply via email to