pub type HealthCheckApi = HealthCheckApi;
Aliased Type§
pub struct HealthCheckApi {
pub bind_address: SocketAddr,
}
Fields§
§bind_address: SocketAddr
The address the API will bind to.
The format is ip:port
, for example 127.0.0.1:1313
. If you want to
listen to all interfaces, use 0.0.0.0
. If you want the operating
system to choose a random port, use port 0
.