brane_reg::health

Function get

Source
pub async fn get() -> Result<impl Reply, Rejection>
Expand description

Handles a GET on the main /health path, returning that this service is alive.

§Returns

The response that can be send back to the client. Simply contains the string “OK!\n”.

§Errors

This function doesn’t usually error.