mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 04:22:22 +00:00
ch4: 规范图像名字
This commit is contained in:
parent
20d6fb7542
commit
ffab977819
@ -165,7 +165,7 @@ GRPC服务一般用于集群内部通信,如果需要对外暴露服务一般
|
|||||||
|
|
||||||
grpc-gateway的工作原理如下图:
|
grpc-gateway的工作原理如下图:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
通过在Protobuf文件中添加路由相关的元信息,通过自定义的代码插件生成路由相关的处理代码,最终将REST请求转给更后端的GRPC服务处理。
|
通过在Protobuf文件中添加路由相关的元信息,通过自定义的代码插件生成路由相关的处理代码,最终将REST请求转给更后端的GRPC服务处理。
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Loading…
x
Reference in New Issue
Block a user