SetConfig
No overview available.
def SetConfig(
cfg: *Config
) - > error
Sets the configuration for the application. This function updates the internal configuration settings with the provided configuration object.
Parameters
| Name | Type | Description |
|---|---|---|
| cfg | *Config | The configuration object to be set. This object contains all the settings that will be applied to the application. |
Returns
| Type | Description |
|---|---|
error | An error if the configuration could not be set, otherwise nil. |