package
Version:
v0.0.0-...-b386846
Opens a new window with list of versions in this module.
Published: May 10, 2015
License: BSD-2-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ParseYAMLConfig parses YAML data into Config object
ReadFromFile reads data from a file
type Config struct {
BrokerURL string `yaml:"broker_url"`
Exchange string `yaml:"exchange"`
ExchangeType string `yaml:"exchange_type"`
DefaultQueue string `yaml:"default_queue"`
BindingKey string `yaml:"binding_key"`
}
Config holds all configuration for our program
Source Files
¶
Click to show internal directories.
Click to hide internal directories.