Ai
11 Star 11 Fork 0

Gitee 极速下载/goa

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/goadesign/goa
克隆/下载
doc.go 1006 Bytes
一键复制 编辑 原始数据 按行查看 历史
Nitin 提交于 2019-03-08 06:26 +08:00 . Godoc updates for transport pkgs (#2028)
/*Package codegen contains the code generation logic to generate gRPC service
definitions (.proto files) from the design DSLs and the corresponding server
and client code that wraps the goa-generated endpoints with the protocol buffer
compiler (protoc) generated clients and servers.
The code generator uses "proto3" syntax for generating the proto files.
The code generator compiles the proto files using the protocol buffer compiler
(protoc) with the gRPC in Go plugin. It hooks up the generated protocol buffer
types to the goa generated types as follows:
* It generates a server that implements the protoc-generated gRPC server interface.
* It generates a client that invokes the protoc-generated gRPC client.
* It generates encoders and decoders that transforms the protocol buffer types and gRPC metadata into goa types and vice versa.
* It generates validations to validate the protocol buffer message types and gRPC metadata fields with the validations set in the design.
*/
package codegen
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/goa.git
git@gitee.com:mirrors/goa.git
mirrors
goa
goa
v2.2.5

搜索帮助