u
This commit is contained in:
1 parent
a57070f860
commit
b9f728812d
22 files changed
+2892
-391
No files matched your search
@@ -1,22 +0,0 @@
|
||||
// idl/hello/hello.proto
|
||||
syntax = "proto3";
|
||||
|
||||
package hello;
|
||||
|
||||
option go_package = "hertz/hello";
|
||||
|
||||
import "api.proto";
|
||||
|
||||
message HelloReq {
|
||||
string Name = 1[(api.query)="name"];
|
||||
}
|
||||
|
||||
message HelloResp {
|
||||
string RespBody = 1;
|
||||
}
|
||||
|
||||
service HelloService {
|
||||
rpc Method1(HelloReq) returns(HelloResp) {
|
||||
option (api.get) = "/hello";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user