axum-connect/axum-connect-examples/proto/hello.proto

23 lines
402 B
Protocol Buffer
Raw Normal View History

2023-03-03 01:47:16 +00:00
syntax = "proto3";
package package.path;
2023-03-03 01:47:16 +00:00
message HelloRequest {
message EmbeddedOne {
message EmbeddedTwo {
string name = 1;
}
EmbeddedTwo embedded_two = 1;
}
2023-03-03 01:47:16 +00:00
string name = 1;
EmbeddedOne embedded_one = 2;
2023-03-03 01:47:16 +00:00
}
message HelloResponse {
string message = 1;
}
service HelloWorldService {
rpc SayHello(HelloRequest) returns (HelloResponse) {}
}