postgres

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 13 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
	SSLRootCert   *string
	SSLCert       *string
	SSLKey        *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