Function health_reporter
pub fn health_reporter() -> (HealthReporter, HealthServer<HealthService>)Expand description
Creates a HealthReporter and a linked HealthServer pair. Together,
these types can be used to serve the gRPC Health Checking service.
A HealthReporter is used to update the state of gRPC services.
A HealthServer is a Rama gRPC server for the grpc.health.v1.Health,
which can be added to a GrpcRouter using its with_service method.