Initial commit

This commit is contained in:
Вечерний детектив
2026-06-28 17:24:14 +00:00
commit 36575fd0fc
17 changed files with 861 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
syntax = "proto3";
package crabs.evening_detective_server;
import "google/api/annotations.proto";
option go_package = "pkg/proto";
service EveningDetectiveServer {
rpc Ping(PingReq) returns (PingRsp) {
option (google.api.http) = {
get: "/api/ping"
};
}
rpc Echo(EchoReq) returns (EchoRsp) {
option (google.api.http) = {
post: "/api/echo"
};
}
}
message PingReq {}
message PingRsp {}
message EchoReq {
string text = 1;
}
message EchoRsp {
string text = 1;
}