Skip to main content

get_config

Function
This function is defined in the config_loader module.
Get the global configuration Loads config lazily on first access and caches it.

Signature

def get_config() -> &'static PraisonConfig

Returns

Returns
&'static PraisonConfig
The result of the operation.

Uses

  • get_or_init

Source

View on GitHub

praisonai/src/parity/config_loader.rs at line 271