Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AutoLoaderLaunched sync.Mutex
View Source
var MainConfig model.Model
var MainConfig NonPtrObj
View Source
var MainConfigDefaultsSetProcessed = _bool.NewVal(false)
MainConfigDefaultsSetProcessed -> it's only for securing the processing function! When multiple goroutines access GetConfig And it's not yet processed!
View Source
var MainConfigDefaultsSetProcessing = _bool.NewVal(false)
MainConfigDefaultsSetProcessing -> it shows if the default settings have being set to MainConfig It will be used in GetConfig function where we get the config...
View Source
var MainConfigJson string
MainConfigJson -> here we store same MainConfig but in json format, why? for faster reading nested keys or for reading dynamically by using string paths
View Source
var MainConfigViper *viper.Viper
MainConfigViper -> we store the instance of viper for the main config file!
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.