Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
Generate generates the code for the given protocol buffer file. It takes a protogen.Plugin and a protogen.File as input and returns an error if any. The generated code includes the file header, services, and methods. For each service, it generates the service definition and for each method, it generates the method definition. If a method is a streaming client or a streaming server, it is skipped. The generated code is written to the specified file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.