libpostgres

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

Overview

libpostgres is a collection of postgresql connections from various sources such as making connections with amp, elastic, etc.

Constribute

Please welcome .

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(options Options) (*sql.DB, error)

Connect is ..

func ConnectWithAMP

func ConnectWithAMP(options Options) (*sql.DB, error)

ConnectWithAMP is ...

Types

type Options

type Options struct {
	Host           string
	Port           int
	Username       string
	Password       string
	DBName         string
	ConnectTimeout int
	SSLCert        string
	SSLKey         string
	SSLRootCert    string
	SSLMode        string
}

Options is a struct

Jump to

Keyboard shortcuts

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