Help us shape the future of Go! Take the 2026 Go Developer Survey

pgtestdb

package module
v0.0.0-...-5b6ecdd Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 8 Imported by: 0

README

NO LONGER MAINTAINED

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager .

func New

func New(adminConn string) (*Manager, error)

New return new Manager

func (*Manager) Close

func (m *Manager) Close() error

Close the manager

func (*Manager) Create

func (m *Manager) Create() (string, error)

Create will create new database, and return the url to connect to that database

func (*Manager) Destroy

func (m *Manager) Destroy(conn string)

Destroy the database that pointed by the url

Jump to

Keyboard shortcuts

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