2020-09-29 11:15:29 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package helloworld;
|
|
|
|
|
2020-12-29 13:44:22 +03:00
|
|
|
option go_package = ".;helloworld";
|
|
|
|
|
2020-09-29 11:15:29 +03:00
|
|
|
service Test {
|
|
|
|
rpc Call(Request) returns (Response) {}
|
|
|
|
}
|
|
|
|
|
|
|
|
message Request {
|
|
|
|
string uuid = 1;
|
|
|
|
string name = 2;
|
2020-12-29 13:44:22 +03:00
|
|
|
|
|
|
|
Broken broken = 4;
|
|
|
|
};
|
|
|
|
|
|
|
|
message Broken {
|
|
|
|
string field = 1;
|
|
|
|
};
|
2020-09-29 11:15:29 +03:00
|
|
|
|
|
|
|
message Response {
|
|
|
|
string msg = 1;
|
2020-12-29 13:44:22 +03:00
|
|
|
Broken broken = 4;
|
|
|
|
};
|