Grpc hello service implementation

This commit is contained in:
Alexander
2026-05-04 14:56:05 +02:00
parent 6baa895c6c
commit 268ee57913
14 changed files with 186 additions and 5 deletions
@@ -0,0 +1,22 @@
syntax = "proto3";
package music_agregator.hello.v1;
option go_package = "homelab.lan/music-agregator/gen/music_agregator/v1/hello";
service HelloService {
rpc Ping(PingRequest) returns (PongResponse) {}
rpc Echo(EchoRequest) returns (EchoResponse) {}
}
message PingRequest {
}
message PongResponse {
}
message EchoRequest {
string msg = 1;
}
message EchoResponse {
string response = 1;
}