Add grpc client in broker service

This commit is contained in:
2024-09-06 23:11:49 +02:00
parent 29135938c2
commit 5825d0018d
9 changed files with 137 additions and 9 deletions

View File

@ -0,0 +1,23 @@
syntax = "proto3";
package logs;
option go_package = "/logs";
message Log {
string name = 1;
string data = 2;
}
message LogRequest {
Log logEntry = 1;
}
message LogResponse {
string result = 1;
}
service LogService {
rpc WriteLog(LogRequest) returns (LogResponse);
}