postgres

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 5 Imported by: 0

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
}

func New

func New(url *url.URL) (*Postgres, error)

func (*Postgres) CreateDatabase

func (p *Postgres) CreateDatabase(ctx context.Context, name, templateName string) error

func (*Postgres) DeleteDatabase

func (p *Postgres) DeleteDatabase(ctx context.Context, name string) error

func (*Postgres) DisconnectFromDatabase

func (p *Postgres) DisconnectFromDatabase(ctx context.Context, name string) error

Jump to

Keyboard shortcuts

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