servers::addrs

Function resolve_addr

Source
pub fn resolve_addr(bind_addr: &str, server_addr: Option<&str>) -> String
Expand description

Resolves server address for meta registration. If server_addr is present, prefer to use it, bind_addr otherwise.