Documentation ¶ Index ¶ type Postgres func New(url *url.URL) (*Postgres, error) func (p *Postgres) CreateDatabase(ctx context.Context, name, templateName string) error func (p *Postgres) DeleteDatabase(ctx context.Context, name string) error func (p *Postgres) DisconnectFromDatabase(ctx context.Context, name string) error 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 Source Files ¶ View all Source files postgres.go Click to show internal directories. Click to hide internal directories.