setup

package
v0.3.54 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestActiveMQ added in v0.3.22

type TestActiveMQ struct {
	Container testcontainers.Container
	// Addr is the STOMP endpoint in "host:port" format.
	Addr     string
	Username string
	Password string
}

TestActiveMQ holds the running testcontainer and the STOMP connection address for the test ActiveMQ broker.

func SetupTestActiveMQ added in v0.3.22

func SetupTestActiveMQ(ctx context.Context) (*TestActiveMQ, error)

SetupTestActiveMQ starts an Apache ActiveMQ Classic container and returns a TestActiveMQ whose Addr field points to the broker's STOMP port.

type TestPostgres

type TestPostgres struct {
	Container testcontainers.Container
	DB        *sql.DB
}

func SetupTestPostgres

func SetupTestPostgres(ctx context.Context) (*TestPostgres, error)

Jump to

Keyboard shortcuts

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