psql

package
v0.0.0-...-9457473 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 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 PsqlClient

type PsqlClient struct {
	Conn *gorm.DB
	// contains filtered or unexported fields
}

Client structure

func NewPsqlClient

func NewPsqlClient(host, port, name, user, password string) *PsqlClient

Creates a new psql client

func (*PsqlClient) Open

func (psqlClient *PsqlClient) Open(force bool) error

Opens the database connection

Jump to

Keyboard shortcuts

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