mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-29 18:04:17 +02:00
268651df18
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
20 lines
299 B
Protocol Buffer
20 lines
299 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
service Test {
|
|
rpc Call(Request) returns (Response) {
|
|
option (google.api.http) = { post: "/api/v0/test/call/{uuid}"; body:"*"; };
|
|
};
|
|
|
|
}
|
|
|
|
message Request {
|
|
string uuid = 1;
|
|
string name = 2;
|
|
}
|
|
|
|
message Response {
|
|
string msg = 1;
|
|
}
|