From c4a4ed035d2dd90cdb083f9a97f2773cdc7ad48d Mon Sep 17 00:00:00 2001 From: Samuel Boyden Date: Wed, 29 Jun 2022 20:13:55 +0100 Subject: [PATCH] Seperate SendLog and SendLogs into LogsClient service --- cc-service.proto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) {}