postgresql

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 6 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