ftp.go 543 B

1234567891011
  1. package config
  2. type FTP struct {
  3. Address string `mapstructure:"address" json:"address" yaml:"address"`
  4. Port string `mapstructure:"port" json:"port" yaml:"port"`
  5. Name string `mapstructure:"name" json:"name" yaml:"name"`
  6. PWD string `mapstructure:"pwd" json:"pwd" yaml:"pwd"`
  7. TimeAt int `mapstructure:"time-at" json:"time-at" yaml:"time-at"`
  8. Folder string `mapstructure:"folder" json:"folder" yaml:"folder"`
  9. FolderBakup string `mapstructure:"folder-bakup" json:"folder-bakup" yaml:"folder-bakup"`
  10. }