Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseYAMLConfig ¶
ParseYAMLConfig parses YAML data into Config object
func ReadFromFile ¶
ReadFromFile reads data from a file
Types ¶
type Config ¶
type Config struct {
Broker string `yaml:"broker"`
ResultBackend string `yaml:"result_backend"`
ResultsExpireIn int `yaml:"results_expire_in"`
Exchange string `yaml:"exchange"`
ExchangeType string `yaml:"exchange_type"`
DefaultQueue string `yaml:"default_queue"`
QueueBindingArguments QueueBindingArguments `yaml:"queue_binding_arguments"`
BindingKey string `yaml:"binding_key"`
TLSConfig *tls.Config
}
Config holds all configuration for our program
type QueueBindingArguments ¶
type QueueBindingArguments map[string]interface{}
QueueBindingArguments arguments which are used when binding to the exchange
Click to show internal directories.
Click to hide internal directories.