postgres

package
v1.25.10-jh Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresClient

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

func (*PostgresClient) Check

func (p *PostgresClient) Check() error

func (*PostgresClient) Close

func (p *PostgresClient) Close()

func (*PostgresClient) GetConnection

func (p *PostgresClient) GetConnection(dbName ...string) (*gorm.DB, error)

func (*PostgresClient) Init

func (p *PostgresClient) Init(postgresConfigData []byte)

func (*PostgresClient) IsMultiDB

func (p *PostgresClient) IsMultiDB() bool

func (*PostgresClient) ListConnNames

func (p *PostgresClient) ListConnNames() []string

func (*PostgresClient) UseCache

func (p *PostgresClient) UseCache() bool

Jump to

Keyboard shortcuts

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