View Source Cosmox.Configuration (Cosmox v0.1.0)
Gets the configuration values from the configuration files. The configuration will be built in at compile time.
Link to this section Summary
Functions
Helper to get the db configuration.
Gets the CosmosDB database host.
Gets the CosmosDB database primary key.
Gets the number of concurrent clients to call CosmosDB REST API.
Link to this section Functions
Helper to get the db configuration.
@spec get_cosmos_db_host() :: binary()
Gets the CosmosDB database host.
@spec get_cosmos_db_key() :: binary()
Gets the CosmosDB database primary key.
@spec get_http_client_pool_size() :: non_neg_integer()
Gets the number of concurrent clients to call CosmosDB REST API.