Function servers::addrs::resolve_addr
source ยท pub fn resolve_addr(bind_addr: &str, hostname_addr: Option<&str>) -> String
Expand description
Resolves hostname:port address for meta registration.
If hostname_addr
is present, prefer to use it, bind_addr
otherwise.