Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresProcess ¶
type PostgresProcess struct {
// contains filtered or unexported fields
}
func NewDB ¶
func NewDB(host, port, dbname, user, password, sslmode string, pwdSection *vconfig.Section) (*PostgresProcess, error)
func (*PostgresProcess) CloseDB ¶
func (process *PostgresProcess) CloseDB() error
func (*PostgresProcess) Run ¶
func (process *PostgresProcess) Run(sql string) ([][]interface{}, error)
Click to show internal directories.
Click to hide internal directories.