23 lines
404 B
Protocol Buffer
23 lines
404 B
Protocol Buffer
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;
|
|
}
|