postgres

package
v0.0.50 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
	RetrieveField *string
	RetrieveQuery *schema.SqlQuery
	ClearQuery    *schema.SqlQuery
	FailQuery     *schema.SqlQuery
	// contains filtered or unexported fields
}

func (*Postgres) Cleanup

func (d *Postgres) Cleanup() error

func (*Postgres) ClearWork

func (d *Postgres) ClearWork() error

func (*Postgres) GetWork

func (d *Postgres) GetWork() (io.Reader, error)

func (*Postgres) HandleFailure

func (d *Postgres) HandleFailure() 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

Jump to

Keyboard shortcuts

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