axum-connect/axum-connect-examples/proto/hello.proto
2023-03-06 18:10:45 +00:00

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) {}
}