diff --git a/.gitignore b/.gitignore index 95c5e6f..4063493 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ ragflow/为什么不能使用gclient.md ragflow/agent文档.md /.idea/MarsCodeWorkspaceAppSettings.xml consul/配置中心方案.md +consul/配置中心方案.md diff --git a/consul/配置中心方案.md b/consul/配置中心方案.md index 3c87785..797279b 100644 --- a/consul/配置中心方案.md +++ b/consul/配置中心方案.md @@ -106,6 +106,7 @@ mongo: ### 4.1 模块结构 +consul api 里有个watch , 用watch去做 ``` common/configcenter/ ├── configcenter.go # 核心:启动/停止/获取配置