connector
Module: startup::connector
Section titled “Module: startup::connector”Contents
Section titled “Contents”Functions
build_connector_registry- Builds the [ConnectorRegistry] from the[connector]config
firma_sidecar::startup::connector::build_connector_registry
Section titled “firma_sidecar::startup::connector::build_connector_registry”Function
Builds the [ConnectorRegistry] from the [connector] config
section.
Errors
Section titled “Errors”Returns an error when a [GenericHttpConnector] cannot be built
(TLS setup failure) or when the host rate-limit parameters are
zero (validation should have already caught this).
fn build_connector_registry(cfg: &config::ConnectorConfig) -> anyhow::Result<std::sync::Arc<crate::connector::ConnectorRegistry>>