Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdService = &cobra.Command{
Use: "service",
Short: "Generate the proto service implementations",
Long: "Generate the proto service implementations. Example: panda-tool proto service api/xxx.proto -target-dir=pkg/service",
Run: run,
}
CmdService the service command.
Functions ¶
This section is empty.
Types ¶
type Method ¶
type Method struct { Service string Name string Request string Reply string // type: unary or stream Type MethodType }
Method is a proto method.
type MethodType ¶
type MethodType uint8
Click to show internal directories.
Click to hide internal directories.