postgres

package
v0.0.0-...-76ad57f Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresClient

type PostgresClient struct {
	// contains filtered or unexported fields
}

PostgresClient todo

func NewPostgresClient

func NewPostgresClient(config *config.Config) *PostgresClient

NewPostgresClient todo

func (*PostgresClient) CreateConnection

func (p *PostgresClient) CreateConnection(config *config.Config) (*sql.DB, error)

CreateConnection todo

func (*PostgresClient) GetConnection

func (p *PostgresClient) GetConnection() *sql.DB

GetConnection todo

func (*PostgresClient) Shutdown

func (p *PostgresClient) Shutdown() error

Shutdown todo

Jump to

Keyboard shortcuts

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