UNPKG

grpc-ts-health-check

Version:

An implementation of gRPC health checks, written in typescript.

13 lines 1.13 kB
"use strict"; // Original file: src/proto/health.proto Object.defineProperty(exports, "__esModule", { value: true }); exports._grpc_health_v1_HealthCheckResponse_ServingStatus = void 0; // Original file: src/proto/health.proto var _grpc_health_v1_HealthCheckResponse_ServingStatus; (function (_grpc_health_v1_HealthCheckResponse_ServingStatus) { _grpc_health_v1_HealthCheckResponse_ServingStatus[_grpc_health_v1_HealthCheckResponse_ServingStatus["UNKNOWN"] = 0] = "UNKNOWN"; _grpc_health_v1_HealthCheckResponse_ServingStatus[_grpc_health_v1_HealthCheckResponse_ServingStatus["SERVING"] = 1] = "SERVING"; _grpc_health_v1_HealthCheckResponse_ServingStatus[_grpc_health_v1_HealthCheckResponse_ServingStatus["NOT_SERVING"] = 2] = "NOT_SERVING"; _grpc_health_v1_HealthCheckResponse_ServingStatus[_grpc_health_v1_HealthCheckResponse_ServingStatus["SERVICE_UNKNOWN"] = 3] = "SERVICE_UNKNOWN"; })(_grpc_health_v1_HealthCheckResponse_ServingStatus = exports._grpc_health_v1_HealthCheckResponse_ServingStatus || (exports._grpc_health_v1_HealthCheckResponse_ServingStatus = {})); //# sourceMappingURL=HealthCheckResponse.js.map