udemy-go-microservices/logger-service/logs/logs.proto
2024-09-06 22:36:07 +02:00

23 lines
293 B
Protocol Buffer

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);
}