mirror of
https://github.com/AThilenius/axum-connect.git
synced 2024-11-25 00:36:34 +00:00
16 lines
250 B
Protocol Buffer
16 lines
250 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package axum_connect.examples.hello_world;
|
||
|
|
||
|
message HelloRequest {
|
||
|
string name = 1;
|
||
|
}
|
||
|
|
||
|
message HelloResponse {
|
||
|
string message = 1;
|
||
|
}
|
||
|
|
||
|
service HelloWorldService {
|
||
|
rpc SayHello(HelloRequest) returns (HelloResponse) {}
|
||
|
}
|