Skip to content

Commit 5baf610

Browse files
committed
update
1 parent f4c4090 commit 5baf610

File tree

1 file changed

+14
-1
lines changed
  • mono-repo/go-kratos/{{cookiecutter.repo_name}}/api

1 file changed

+14
-1
lines changed
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
# api:
22

33
- 所有服务的 API:
4-
- protobuf 定义:
4+
- protobuf 定义:
5+
6+
## 两种管理方案:
7+
8+
- 集中管理 PROTO API 定义:
9+
- 方便 client 调用
10+
- 分散管理 PROTO API 定义:
11+
- 方便单个服务的维护者开发
12+
13+
## 折中方案:
14+
15+
- 写一个 sync 脚本.
16+
- 定期自动同步各服务内的 proto api 定义到 api/ 文件夹下.
17+

0 commit comments

Comments
 (0)