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

Commit

Permalink
Multiple changes
Browse files Browse the repository at this point in the history
- Renamed cc-service.proto to cc_service.proto
- Rename LogsServer and LogsClient to LogServer and LogClient
(respectively) to avoid conflicts with naming in the tonic gRPC
auto-generated code.
  • Loading branch information
STBoyden committed Jun 29, 2022
1 parent c4a4ed0 commit 436a92a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cc-service.proto → cc_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ message ReceivedResult {
Received status = 2;
}

service LogsServer {
service LogServer {
// Implemented and used by the GUI
rpc GetLog(Empty) returns (log.Log) {}
rpc GetLogs(Empty) returns (stream log.Log) {}

}

service LogsClient {
service LogClient {
// 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 436a92a

Please sign in to comment.