Skip to content

Commit

Permalink
chore: split out into another service
Browse files Browse the repository at this point in the history
Signed-off-by: AlexsJones <[email protected]>
  • Loading branch information
AlexsJones committed Sep 20, 2024
1 parent 8a21f12 commit 327bb73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion protobuf/schema/v1/server_analyzer_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ message AnalyzeResponse {
repeated Result results = 5;
}

service ServerAnalyzerService {
message Error {
string message = 1;
int32 code = 2;
}

service ServerAnalyzerService {

rpc Analyze(AnalyzeRequest) returns (AnalyzeResponse) {
// option type is http
option (google.api.http) = {
Expand Down
4 changes: 2 additions & 2 deletions protobuf/schema/v1/server_query_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "google/api/annotations.proto";
option go_package = "schema/service/v1";


message Error {
message QueryError {
string message = 1;
int32 code = 2;
}
Expand All @@ -19,7 +19,7 @@ message QueryRequest {
}

message QueryResponse {
Error error = 1;
QueryError error = 1;
string response = 2;
}

Expand Down

0 comments on commit 327bb73

Please sign in to comment.