matcher/src/health.proto

22 lines
338 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;
2023-08-16 10:28:20 +00:00
string message = 2;
2023-04-06 12:21:43 +00:00
}