mirror of
https://github.com/AThilenius/axum-connect.git
synced 2024-11-25 00:24:10 +00:00
12 lines
290 B
Protocol Buffer
12 lines
290 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package hello;
|
|
|
|
message HelloRequest { optional string name = 1; }
|
|
|
|
message HelloResponse { string message = 1; }
|
|
|
|
service HelloWorldService {
|
|
rpc SayHello(HelloRequest) returns (HelloResponse) {}
|
|
rpc SayHelloStream(HelloRequest) returns (stream HelloResponse) {}
|
|
}
|