pgpass

package
v0.0.0-...-acf991b Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToDatabase

func ConnectToDatabase(connection *Connection)

Types

type Connection

type Connection struct {
	Name     string
	Host     string
	Port     string
	Database string
	Username string
	Password string
}

func GetFilteredConnections

func GetFilteredConnections(connections []*Connection, filter string) (filteredConnections []*Connection)

func LoadConnectionsFromPgpass

func LoadConnectionsFromPgpass() (connections []*Connection, err error)

Jump to

Keyboard shortcuts

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