healthcheck

Function healthcheck 

Source
pub async fn healthcheck(config: Config) -> Result<()>
Expand description

Sends an HTTP GET to the /health endpoint and exits with an error if the response is not 2xx.

Used as the implementation of the healthcheck CLI subcommand, suitable for use in Docker HEALTHCHECK instructions.