Exemplo n.º 1
0
 public Task <HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken = new CancellationToken())
 {
     return(Task.FromResult(HealthCheckResult.Healthy()));
 }
Exemplo n.º 2
0
 public Task <HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken = new CancellationToken())
 {
     return(Task.FromResult(HealthCheckResult.Unhealthy("Lets encrypt is down")));
 }