Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListBackups ¶
Types ¶
type Config ¶
type Config struct {
Host string `json:"Host"`
Port string `json:"Port"`
DB string `json:"Db"`
AuthDB string `json:"AuthDb"`
Username string `json:"Username"`
Password string `json:"Password"`
CronBackup string `json:"CronBackup"`
}
func InitConfig ¶
func InitConfig() *Config
func (*Config) RunBackup ¶
func (cfg *Config) RunBackup() (*JsonResponse, error)
func (*Config) StartBackup ¶
func (cfg *Config) StartBackup() func()
type JsonResponse ¶
type JsonResponse struct {
Request string `json:"request"`
}
type SwaggerBackupRequest ¶
type SwaggerListBackupsRequest ¶
type SwaggerListBackupsRequest struct {
}
type SwaggerRestoreRequest ¶
type SwaggerRestoreRequest struct {
S3Key string `json:"S3Key"`
}
Click to show internal directories.
Click to hide internal directories.