代码拉取完成,页面将自动刷新
/*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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。