Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
Postgres implements the database interface
func New ¶
func New(log *slog.Logger, datadir string, host string, port int, user string, password string) *Postgres
New instantiates a new postgres database
func (*Postgres) Probe ¶
Probe figures out if the database is running and available for taking backups.
Click to show internal directories.
Click to hide internal directories.