postgres

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: MIT Imports: 11 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 {
	Client  *sql.DB
	Host    string
	Port    int
	User    string
	Pass    string
	Db      string
	SslMode string
	Query   *schema.SqlQuery
}

func (*Postgres) Cleanup

func (d *Postgres) Cleanup() error

func (*Postgres) Init

func (d *Postgres) Init() error

func (*Postgres) LoadEnv

func (d *Postgres) LoadEnv(prefix string) error

func (*Postgres) LoadFlags

func (d *Postgres) LoadFlags() error

func (*Postgres) Push

func (d *Postgres) Push(r io.Reader) error

Jump to

Keyboard shortcuts

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