dbtools

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const DEFAULT_MANAGEMENT_PG_DB_NAME = "postgres"

Variables

View Source
var ErrAdapterNotSupported = errors.New("adapter not supported")

Functions

This section is empty.

Types

type DBTools

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

func NewDBTools

func NewDBTools() (*DBTools, error)

func NewDBToolsFromConfig

func NewDBToolsFromConfig(c *config.Config) (*DBTools, error)

func (*DBTools) Close

func (dt *DBTools) Close() error

func (*DBTools) CreateDB

func (dt *DBTools) CreateDB() error

func (*DBTools) DropDB

func (dt *DBTools) DropDB() error

Jump to

Keyboard shortcuts

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