package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Jul 27, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
README
¶
RabbitMQ type
This type manages RabbitMQ config
Required variables
The following env variables should be defined when using this type:
- RABBITMQ_HOST defines RabbitMQ host, it must be a string, its default value is "localhost"
- RABBITMQ_PORT defines RabbitMQ port, it must be a valid port number, its default value is 5672
- RABBITMQ_USER defines RabbitMQ user, its default value is "guest"
- RABBITMQ_PASSWORD defines RabbitMQ user's password, its default value is "guest"
Documentation
¶
type Config struct {
ConnectionString string
}
Config is a type that defines required data for connecting to RabbitMQ server
NewConfig is the function that validates and returns Config instance
Source Files
¶
Click to show internal directories.
Click to hide internal directories.