package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Dec 30, 2024
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 definned when using this type:
- RABBITMQ_HOST defines rabbitmq host, it must be a string, it's default value is "localhost"
- RABBITMQ_PORT defines rabbitmq port, it must be a valid port number, it's default value is 5672
- RABBITMQ_USER defines rabbitmq user, it's default value is "guest"
- RABBITMQ_PASSWORD defines rabbitmq user's password, it's 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.