Skip to main content

parse_host_list

Function parse_host_list 

Source
fn parse_host_list(
    config: &HashMap<String, Value>,
    key: &str,
) -> Result<HostMatcher, String>
Expand description

Parses a config key as an array of host patterns. Patterns starting with * become suffix matches on the remainder; others are exact (lowercased).