Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupConsumer ¶
func SetupConsumer(options ConsumerOptions, ch *amqp.Channel) *amqp.Channel
SetupConsumer ...
Types ¶
type Config ¶ added in v0.1.5
type Config struct { tc.ContainerConfig Host string Port int64 }
Config ...
func StartRabbitmqContainer ¶ added in v0.1.5
func StartRabbitmqContainer(ctx context.Context, options ContainerOptions) (rabbitmqC testcontainers.Container, rabbitmqConfig Config, err error)
StartRabbitmqContainer ...
type ConsumerOptions ¶
type ConsumerOptions struct { ExchangeName string QueueName string ExchangeRoutingKey string QueueLength int64 }
ConsumerOptions ...
type ContainerOptions ¶ added in v0.1.5
type ContainerOptions struct {
tc.ContainerOptions
}
ContainerOptions ...
Click to show internal directories.
Click to hide internal directories.