Initial cloud-services repo - gateway service + pkg modules

This commit is contained in:
Chris Rai
2026-01-30 23:14:52 -05:00
commit fbb820d7b3
1037 changed files with 171318 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
syntax = "proto3";
option go_package = "grpc/kafka_grpc";
message TRexLog {
int32 level = 1;
string timestamp = 2; // This should become an int64 with message sent as unix time
int32 line_number = 3;
string filename = 4;
string channel = 5;
string msg = 6;
}
message TRexLogs {
repeated TRexLog logs = 1;
}
message TRexLogs_BatchPayload {
string Handler = 1;
oneof TRexMessage {
TRexLogs Data = 2;
TRexError Error = 3;
}
string Version = 4;
}
message TRexError {
int64 code = 1;
repeated TRexErrorMessage message = 2;
}
message TRexErrorMessage{
repeated string context = 1;
string description = 2;
}