Skip to content

Commit ab09c55

Browse files
committed
Export health-check messages
To use in serviceMap const grpcHealthCheck = require('grpc-health-check'); const statusMap = { '': grpcHealthCheck.messages.HealthCheckResponse.ServingStatus.SERVING, };
1 parent 7eca188 commit ab09c55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/grpc-health-check/health.js

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ HealthImplementation.prototype.check = function(call, callback){
4949

5050
module.exports = {
5151
Client: health_service.HealthClient,
52+
messages: health_messages,
5253
service: health_service.HealthService,
5354
Implementation: HealthImplementation
5455
};

0 commit comments

Comments
 (0)