Documentation ¶ Index ¶ type Postgres func (d *Postgres) Cleanup() error func (d *Postgres) Init() error func (d *Postgres) LoadEnv(prefix string) error func (d *Postgres) LoadFlags() error func (d *Postgres) Push(r io.Reader) error 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 Source Files ¶ View all Source files postgres.go Click to show internal directories. Click to hide internal directories.