1. 添加服务
https://www.consul.io/api-docs/agent/service#register-service
2. 删除服务
https://www.consul.io/api-docs/agent/service#deregister-service
3. 设置健康检查
https://www.consul.io/api-docs/agent/check
https://www.consul.io/api-docs/agent/service#register-service
https://www.consul.io/api-docs/agent/service#deregister-service
https://www.consul.io/api-docs/agent/check
本文档使用 IT书架 构建