redshift

package
v0.0.0-...-f3e82cf Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*sql.DB
}

Client db client

func New

func New(dbConf *Config) (*Client, error)

New function to connect to database

type Config

type Config struct {
	Host       string
	Port       int
	DbName     string
	User       string
	DbPassword string
}

Config configuration to connect to database

Jump to

Keyboard shortcuts

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