database

package
v0.0.0-...-3cfe61e Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPGXClient

func NewPGXClient(ctx context.Context, cfg *config.Config) (tools.PGXClient, error)

Types

type PGXConnectionWrapper

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

func (*PGXConnectionWrapper) GetMaster

func (c *PGXConnectionWrapper) GetMaster(ctx context.Context) (tools.PGXPool, error)

func (*PGXConnectionWrapper) GetSlave

func (c *PGXConnectionWrapper) GetSlave(ctx context.Context) (tools.PGXPool, error)

Jump to

Keyboard shortcuts

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