Skip to main content

get

Function get 

Source
pub fn get<'a>(
    config: &'a GorConfig,
    key: &str,
    host: Option<&str>,
) -> Option<&'a Value>
Expand description

Get a config value, checking host-scoped overrides first.

If host is provided, checks hosts.<host>.<key> first, then falls back to the global key.