mirror of https://github.com/grpc/grpc-node.git
Export health-check messages
To use in serviceMap const grpcHealthCheck = require('grpc-health-check'); const statusMap = { '': grpcHealthCheck.messages.HealthCheckResponse.ServingStatus.SERVING, };
This commit is contained in:
parent
7eca188ae1
commit
ab09c552de
|
@ -49,6 +49,7 @@ HealthImplementation.prototype.check = function(call, callback){
|
|||
|
||||
module.exports = {
|
||||
Client: health_service.HealthClient,
|
||||
messages: health_messages,
|
||||
service: health_service.HealthService,
|
||||
Implementation: HealthImplementation
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue