mirror of
https://github.com/AThilenius/axum-connect.git
synced 2024-11-25 00:36:34 +00:00
22 lines
402 B
Protocol Buffer
22 lines
402 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package package.path;
|
|
|
|
message HelloRequest {
|
|
message EmbeddedOne {
|
|
message EmbeddedTwo {
|
|
string name = 1;
|
|
}
|
|
EmbeddedTwo embedded_two = 1;
|
|
}
|
|
string name = 1;
|
|
EmbeddedOne embedded_one = 2;
|
|
}
|
|
|
|
message HelloResponse {
|
|
string message = 1;
|
|
}
|
|
|
|
service HelloWorldService {
|
|
rpc SayHello(HelloRequest) returns (HelloResponse) {}
|
|
}
|