Exemplo n.º 1
0
 public HealthCheckerMiddleware(RequestDelegate next, ILoggerFactory loggerFactory, HealthCheckerOptions options)
 {
     _next    = next;
     _logger  = loggerFactory.CreateLogger <HealthCheckerMiddleware>();
     _options = options;
 }
Exemplo n.º 2
0
 public static IApplicationBuilder UseHealthcheckEndpoint(this IApplicationBuilder builder, HealthCheckerOptions options)
 {
     return(builder.UseMiddleware <HealthCheckerMiddleware>(options));
 }
Exemplo n.º 3
0
 public HealthCheckBuilder(HealthCheckerOptions options)
 {
     _options = options;
 }