reset

package
v1.26.7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisconnectClients added in v1.4.7

func DisconnectClients(ctx context.Context, conn *pgx.Conn) error

func InitialiseDatabase added in v1.7.5

func InitialiseDatabase(ctx context.Context, conn *pgx.Conn, fsys afero.Fs) error

func RecreateDatabase added in v1.7.5

func RecreateDatabase(ctx context.Context, options ...func(*pgx.ConnConfig)) error

Recreate postgres database by connecting to template1

func RestartDatabase added in v1.4.7

func RestartDatabase(ctx context.Context)

func Run

func Run(ctx context.Context, fsys afero.Fs, options ...func(*pgx.ConnConfig)) error

func SeedDatabase added in v1.0.10

func SeedDatabase(ctx context.Context, conn *pgx.Conn, fsys afero.Fs) error

func WaitForHealthyDatabase added in v1.5.3

func WaitForHealthyDatabase(ctx context.Context, timeout time.Duration) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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