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