data

package
v0.0.1-20220810-0002 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL