store

package
v0.0.0-...-8a3df02 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresStore

type PostgresStore struct {
	Source *pgxpool.Pool
}

func NewPostgresStore

func NewPostgresStore(ctx context.Context, appConfig config.Config) (*PostgresStore, error)

func NewPostgresStoreForTesting

func NewPostgresStoreForTesting(ctx context.Context, connString string) (*PostgresStore, error)

func (*PostgresStore) Close

func (store *PostgresStore) Close()

func (*PostgresStore) Ping

func (store *PostgresStore) Ping(ctx context.Context) error

Jump to

Keyboard shortcuts

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