Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultImage = "postgres:17-alpine"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct{ *postgres.PostgresContainer }
func (*Container) ConnectionConfig ¶
func (c *Container) ConnectionConfig(ctx context.Context, args ...string) (*pgxpool.Config, func(ctx context.Context, config *pgxpool.Config) (*pgxpool.Pool, error), error)
ConnectionConfig creates a new pgxpool.Config.
func (*Container) ConnectionPool ¶
ConnectionPool creates a new pgxpool.Pool.
Click to show internal directories.
Click to hide internal directories.