Skip to content

Commit b6fac5f

Browse files
committed
Revert HealthService proto
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
1 parent 31a83e4 commit b6fac5f

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
syntax = "proto3";
2+
3+
package grpc.health.v1;
4+
5+
option java_package = "io.grpc.health.v1";
6+
option java_outer_classname = "HealthProto";
7+
8+
message HealthCheckRequest {
9+
string service = 1;
10+
}
11+
12+
enum ServingStatus {
13+
UNKNOWN = 0;
14+
SERVING = 1;
15+
NOT_SERVING = 2;
16+
}
17+
18+
message HealthCheckResponse {
19+
ServingStatus status = 1;
20+
}
21+
22+
service Health {
23+
rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
24+
}

0 commit comments

Comments
 (0)