Skip to main content

get_str_slice_conf

Function get_str_slice_conf 

Source
pub fn get_str_slice_conf(value: &PluginConf, key: &str) -> Vec<String>
Expand description

A list of strings. One string on its own is a list of one: that is how a single value reads in KDL (ip_list "1.2.3.4"), and it used to count as no list at all, which left an allow or deny list empty without a word.