Function try_init_upstreams

Source
pub fn try_init_upstreams(
    upstream_configs: &HashMap<String, UpstreamConf>,
    sender: Option<Arc<NotificationSender>>,
) -> Result<(), Error>
Expand description

Initialize the upstreams

§Arguments

  • upstream_configs - The upstream configurations
  • sender - The notification sender

§Returns