refactor(Azure): Has now separate config struct
This commit is contained in:
parent
aeefe112e0
commit
03ffd77555
2 changed files with 32 additions and 30 deletions
|
|
@ -16,6 +16,10 @@ type Config struct {
|
|||
DbUser string `json:"db-user"`
|
||||
DbPassword string `json:"db-password"`
|
||||
} `json:"sqlConfig"`
|
||||
type AzureConfig struct {
|
||||
FileshareName string `json:"fileshareName"`
|
||||
StorageAccountName string `json:"storageAccountName"`
|
||||
StorageAccountKey string `json:"storageAccountKey"`
|
||||
FolderToBackup []struct {
|
||||
BackupName string `json:"backupName"`
|
||||
FolderPath string `json:"folderPath"`
|
||||
|
|
|
|||
Reference in a new issue