func (r *AppConfig) GetStorageConfig() CommonStorageConfig {
	return r.StorageConfig
}
GetStorageConfig returns the storage config
package configure
type AppConfig struct {
	LogConfig            *LogConfiguration         `yaml:"logging"`
	DefaultServiceConfig *ServiceConfig            `yaml:"DefaultServiceConfig"`
	ServiceConfig        map[string]*ServiceConfig `yaml:"ServiceConfig"`
	MetadataConfig       *MetadataConfig           `yaml:"MetadataConfig"`
	ControllerConfig     *ControllerConfig         `yaml:"ControllerConfig"`
	FrontendConfig       *FrontendConfig           `yaml:"FrontendConfig"`
	StorageConfig        *StorageConfig            `yaml:"StorageConfig"`
	ReplicatorConfig     *ReplicatorConfig         `yaml:"ReplicatorConfig"`
	KafkaConfig          *KafkaConfig              `yaml:"KafkaConfig"`
	DefaultDestinationConfig *DestinationConfig `yaml:"DefaultDestinationConfig"`
}
func NewCommonAppConfig() CommonAppConfig {
	return &AppConfig{
		LogConfig:                NewCommonLogConfig(),
		DefaultServiceConfig:     NewCommonServiceConfig(),
		ServiceConfig:            make(map[string]*ServiceConfig),
		MetadataConfig:           NewCommonMetadataConfig(),
		ControllerConfig:         NewCommonControllerConfig(),
		FrontendConfig:           NewCommonFrontendConfig(),
		StorageConfig:            NewCommonStorageConfig(),
		ReplicatorConfig:         NewCommonReplicatorConfig(),
		DefaultDestinationConfig: NewDestinationConfig(),
		KafkaConfig:              NewCommonKafkaConfig(),
	}
}
func (r *AppConfig) GetServiceConfig(sName string) CommonServiceConfig {
	sCfg, _ := r.ServiceConfig[sName]
	return sCfg
}
func (r *AppConfig) GetMetadataConfig() CommonMetadataConfig {
	return r.MetadataConfig
}
func (r *AppConfig) GetControllerConfig() CommonControllerConfig {
	return r.ControllerConfig
}
func (r *AppConfig) GetFrontendConfig() CommonFrontendConfig {
	return r.FrontendConfig
}