Skip to main content

collect_endpoints

Function collect_endpoints 

Source
fn collect_endpoints(
    config: &HashMap<String, Value>,
) -> Result<Vec<String>, String>
Expand description

Reads endpoint_addr (string) and/or endpoint_addrs (array), trims trailing slashes, and errors when none are present.