pgsql

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DSN

type DSN struct {
	Host string // 1.2.3.4
	Port string // 5432
	User string // foo
	Pass string // 123456
	Name string // dbname
}

type PgSQL

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

func Dial

func Dial(dsn *DSN, timeout time.Duration) (*PgSQL, error)

func (*PgSQL) Close

func (c *PgSQL) Close() error

type Result

type Result struct {
}

Jump to

Keyboard shortcuts

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