Skip to main content

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

NameTypeDescription
cfg*ConfigThe configuration object to be set. This object contains all the settings and parameters for the application.

Returns

TypeDescription
errorAn error if the configuration could not be set, otherwise nil.