code: func NewConfigCenterSource(cc config.Client, dimInfo string,
  	refreshMode, refreshInterval int) core.ConfigSource {
  
  	if ConfigCenterConfig == nil {
  		ConfigCenterConfig = new(Handler)
  		ConfigCenterConfig.priority = configCenterSourcePriority
  		ConfigCenterConfig.cc = cc
  		ConfigCenterConfig.dimensionsInfo = dimInfo
  		ConfigCenterConfig.initSuccess = true
  		ConfigCenterConfig.RefreshMode = refreshMode
  		ConfigCenterConfig.RefreshInterval = time.Second * time.Duration(refreshInterval)
  
  	}
  	return ConfigCenterConfig
  }
docs: //NewConfigCenterSource initializes all components of configuration center