update server
This commit is contained in:
@@ -12,8 +12,21 @@ service ${REPO_NAME_PASCAL} {
|
||||
get: "/api/ping"
|
||||
};
|
||||
}
|
||||
rpc Echo(EchoReq) returns (EchoRsp) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/echo"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message PingReq {}
|
||||
|
||||
message PingRsp {}
|
||||
|
||||
message EchoReq {
|
||||
string text = 1;
|
||||
}
|
||||
|
||||
message EchoRsp {
|
||||
string text = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user