resources

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config() *pgxpool.Config

func InitDb

func InitDb() error

Types

type BarkPostgresDb

type BarkPostgresDb struct {
	Client *pgxpool.Pool
}

BarkPostgresDb wraps the *pgxpool.Pool in a custom struct to use it as a receiver for query functions

var BarkDb *BarkPostgresDb

func OpenDb

func OpenDb() (*BarkPostgresDb, error)

func (*BarkPostgresDb) CloseDb

func (d *BarkPostgresDb) CloseDb()

Jump to

Keyboard shortcuts

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