mirror of
https://codeberg.org/JasterV/granc.git
synced 2026-04-26 18:40:05 +00:00
18 lines
426 B
Protocol Buffer
18 lines
426 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package echo;
|
|
|
|
service EchoService {
|
|
rpc UnaryEcho (EchoRequest) returns (EchoResponse);
|
|
rpc ServerStreamingEcho (EchoRequest) returns (stream EchoResponse);
|
|
rpc ClientStreamingEcho (stream EchoRequest) returns (EchoResponse);
|
|
rpc BidirectionalEcho (stream EchoRequest) returns (stream EchoResponse);
|
|
}
|
|
|
|
message EchoRequest {
|
|
string message = 1;
|
|
}
|
|
|
|
message EchoResponse {
|
|
string message = 1;
|
|
}
|