container

package
v0.0.0-...-ee12296 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaSetup

type KafkaSetup struct {
	CleanUp    func()
	BrokerAddr []string
}

func StartKafka

func StartKafka(ctx context.Context) (*KafkaSetup, error)

type PostgresContainer

type PostgresContainer struct {
	postgres.PostgresContainer
}

func StartPostgres

func StartPostgres(ctx context.Context) (*PostgresContainer, error)

type RedisContainer

type RedisContainer struct {
	*redis.RedisContainer
}

func StartRedis

func StartRedis(ctx context.Context, opts *RedisContainerOpts) (*RedisContainer, error)

type RedisContainerOpts

type RedisContainerOpts struct {
	Addr int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳