diff --git a/ch4-rpc/ch4-06-grpc-ext.md b/ch4-rpc/ch4-06-grpc-ext.md index d69359c..1b44291 100644 --- a/ch4-rpc/ch4-06-grpc-ext.md +++ b/ch4-rpc/ch4-06-grpc-ext.md @@ -165,7 +165,7 @@ GRPC服务一般用于集群内部通信,如果需要对外暴露服务一般 grpc-gateway的工作原理如下图: -![](../images/ch4-06-grpc-gateway.png) +![](../images/ch4.6-1-grpc-gateway.png) 通过在Protobuf文件中添加路由相关的元信息,通过自定义的代码插件生成路由相关的处理代码,最终将REST请求转给更后端的GRPC服务处理。 diff --git a/images/ch4-06-grpc-gateway.png b/images/ch4.6-1-grpc-gateway.png similarity index 100% rename from images/ch4-06-grpc-gateway.png rename to images/ch4.6-1-grpc-gateway.png