rpc generation fix (#184)
* reactor alert * optimize * add test case * update the target directory in case proto contains option * fix missing comments and format codemaster v1.0.25
parent
f7d778e0ed
commit
856b5aadb1
@ -0,0 +1,27 @@
|
||||
// test proto
|
||||
syntax = "proto3";
|
||||
|
||||
package snake_package;
|
||||
|
||||
message StreamReq {
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
message Stream_Resp {
|
||||
string greet = 1;
|
||||
}
|
||||
|
||||
message lowercase {
|
||||
string in = 1;
|
||||
string lower = 2;
|
||||
}
|
||||
|
||||
message CamelCase {
|
||||
string Camel = 1;
|
||||
}
|
||||
|
||||
service Stream_Greeter {
|
||||
rpc snake_service(StreamReq) returns (Stream_Resp);
|
||||
rpc ServiceCamelCase(CamelCase) returns (CamelCase);
|
||||
rpc servicelowercase(lowercase) returns (lowercase);
|
||||
}
|
Loading…
Reference in New Issue