Documentation ¶ Index ¶ func RunBackup(database PostgresqlRequirements) (*bytes.Buffer, error) func RunRestoration(database PostgresqlRequirements, backup *bytes.Buffer) error type PostgresqlRequirements Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RunBackup ¶ func RunBackup(database PostgresqlRequirements) (*bytes.Buffer, error) func RunRestoration ¶ func RunRestoration(database PostgresqlRequirements, backup *bytes.Buffer) error Types ¶ type PostgresqlRequirements ¶ type PostgresqlRequirements struct { Hostname string `json:"hostname"` Name string `json:"name"` User string `json:"user"` Password string `json:"password"` Port string `json:"port"` } Source Files ¶ View all Source files backup.go constants.go restore.go Click to show internal directories. Click to hide internal directories.