Function mz_balancerd::lookup
source ยท pub(crate) async fn lookup(name: &str) -> Result<SocketAddr, Error>
Expand description
Returns the first IP address resolved from the provided hostname.
pub(crate) async fn lookup(name: &str) -> Result<SocketAddr, Error>
Returns the first IP address resolved from the provided hostname.