matcher/src/modules/health/adapters/primaries/health.proto

22 lines
317 B
Protocol Buffer
Raw Normal View History

2023-04-06 12:21:43 +00:00
syntax = "proto3";
package health;
service Health {
rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
}
message HealthCheckRequest {
string service = 1;
}
message HealthCheckResponse {
enum ServingStatus {
UNKNOWN = 0;
SERVING = 1;
NOT_SERVING = 2;
}
ServingStatus status = 1;
}