xdbutils_postgres

package
v0.0.0-...-587cc14 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 0 Imported by: 1

README

xdbutils_postgres

Dependencies

  • None

Documents

Types
  • type PostgreSQLConfig struct
Variables
  • None
Constants
  • None
Functions
  • None
Methods
  • func (p *PostgreSQLConfig) FormatDSN() string

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgreSQLConfig

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

PostgreSQLConfig is a configuration for PostgreSQL, can be used to generate DSN by FormatDSN method.

Please visit the follow links for more information: - https://pkg.go.dev/github.com/lib/pq#hdr-Connection_String_Parameters - https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING - https://www.postgresql.org/docs/current/runtime-config-client.html

func (*PostgreSQLConfig) FormatDSN

func (p *PostgreSQLConfig) FormatDSN() string

FormatDSN generates formatted DSN string from PostgreSQLConfig.

Jump to

Keyboard shortcuts

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