Skip to content

Commit 3999829

Browse files
docs(grpc): 📝 remove outdated link
1 parent 55ed646 commit 3999829

File tree

1 file changed

+3
-10
lines changed
  • docs/web/cloud_native/communication

1 file changed

+3
-10
lines changed

docs/web/cloud_native/communication/gRPC.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ gRPC 有诸多优点:
9898

9999
两者使用语言不同,如何使得两者建立联系?我们可以使用 gRPC 的思路:
100100

101-
-`.proto`文件中定义选手可以调用的游戏方法(如人物操作和获取物品信息)。
101+
- `.proto` 文件中定义选手可以调用的游戏方法(如人物操作和获取物品信息)。
102102
- 在 Server 端实现这些接口的内部逻辑。
103103
- 在 Client 端提供用户需要直接调用的方法,而无需关心其具体实现。
104104

@@ -108,7 +108,7 @@ gRPC 有诸多优点:
108108

109109
### C++
110110

111-
安装 gRPC C++相关的库需要手动编译其源码:
111+
安装 gRPC C++ 相关的库需要手动编译其源码:
112112

113113
```bash
114114
$ git clone -b v1.46.3 --depth 1 --shallow-submodules https://github.com/grpc/grpc
@@ -126,14 +126,7 @@ $ make install # 或 sudo make install
126126
$ popd
127127
```
128128

129-
> 需要指出的是,由于网络等问题,`git submodule update --init --recursive`一步往往无法正常运行。为此可以点击[此处](https://cloud.tsinghua.edu.cn/f/57ed9214f07e4b41a11c/)下载`third_party.tar.gz`,并将`git submodule..`一步替换为以下操作:
130-
>
131-
> ```bash
132-
> $ rm -rf third_party
133-
> $ mv <tar_gz_path> .
134-
> $ tar -zxvf third_party.tar.gz
135-
> $ cd ..
136-
> ```
129+
> 需要指出的是,由于网络等问题,`git submodule update --init --recursive` 一步往往无法正常运行,需要自行处理。
137130
138131
### Csharp
139132

0 commit comments

Comments
 (0)