diff --git a/cc-service.proto b/cc-service.proto index 34f0093..2ad5367 100644 --- a/cc-service.proto +++ b/cc-service.proto @@ -17,11 +17,14 @@ message ReceivedResult { Received status = 2; } -service Logs { +service LogsServer { // Implemented and used by the GUI rpc GetLog(Empty) returns (log.Log) {} rpc GetLogs(Empty) returns (stream log.Log) {} +} + +service LogsClient { // Implemented and used by each language logger rpc SendLog(log.Log) returns (ReceivedResult) {} rpc SendLogs(stream log.Log) returns (ReceivedResult) {}