C# Class ServiceStack.Discovery.Consul.HealthCheckService

Inheritance: Service
Exibir arquivo Open project: MacLeanElectrical/servicestack-discovery-consul

Public Methods

Method Description
Get ( HealthCheck check ) : object

Provides a custom healthcheck endpoint for each service to configure

The healthcheck if specified at plugin registration is executed

Get ( Heartbeat heartbeat ) : object

Provides a simple heartbeat endpoint

The heartbeat is executed when this service is registered to obtain the baseUrl

Method Details

Get() public method

Provides a custom healthcheck endpoint for each service to configure
The healthcheck if specified at plugin registration is executed
public Get ( HealthCheck check ) : object
check HealthCheck
return object

Get() public method

Provides a simple heartbeat endpoint
The heartbeat is executed when this service is registered to obtain the baseUrl
public Get ( Heartbeat heartbeat ) : object
heartbeat Heartbeat
return object