Skip to main content

resolve_bind_addr

Function resolve_bind_addr 

Source
pub fn resolve_bind_addr(
    bind_override: Option<String>,
    config: &BhtuneConfig,
) -> String
Expand description

Resolve bhtune-server’s bind address with BHTUNE_BIND > config file > default precedence. The server adapter reads the environment and passes it here, keeping process-environment access outside this resolver.