Function tikv_util::config::check_addr[][src]

pub fn check_addr(addr: &str) -> Result<bool, ConfigError>

check_addr validates an address. Addresses are formed like “Host:Port”. More details about Host and Port can be found in WHATWG URL Standard.

Return whether the address is unspecified, i.e. 0.0.0.0 or ::0