postgresql

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL