From e22f7373e6dfddc97f6372f7fd93c578c81bc4ea Mon Sep 17 00:00:00 2001 From: Cold <16419454+cold502@user.noreply.gitee.com> Date: Tue, 16 Dec 2025 18:00:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + consul/配置中心方案.md | 1 + 2 files changed, 2 insertions(+) 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 # 核心:启动/停止/获取配置