Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
Seperate SendLog and SendLogs into LogsClient service
Browse files Browse the repository at this point in the history
  • Loading branch information
STBoyden committed Jun 29, 2022
1 parent 00e5549 commit c4a4ed0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cc-service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit c4a4ed0

Please sign in to comment.