start_probe

Function start_probe 

Source
pub async fn start_probe<A>(
    address: A,
    port: u16,
    initial_state: ServiceState,
) -> Result<(), ProbeStartError>
where A: Into<IpAddr>,
Expand description

Start the probe HTTP service.

This opens a HTTP v1 server on the selected address and port which will serve the state in GET requests to /health.