container

package
v0.0.0-...-f983e27 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

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

func (*Container) Close

func (c *Container) Close(ctx context.Context) error

type PgContainer

type PgContainer struct {
	Container
	// contains filtered or unexported fields
}

func NewPGContainer

func NewPGContainer(db string) (*PgContainer, error)

NewPGContainer creates a new container running PG and blocks until it is ready to use.

func (*PgContainer) ConnectionString

func (p *PgContainer) ConnectionString() (string, error)

Jump to

Keyboard shortcuts

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