Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerConfig ¶
type BrokerConfig struct { Login string `toml:"login"` Pass string `toml:"pass"` Post string `toml:"host"` Port int `toml:"port"` LogLevel string `toml:"log_level"` Debug bool `toml:"debug"` URL string }
func NewConfig ¶
func NewConfig() *BrokerConfig
func ReadConfig ¶
func ReadConfig(path string) *BrokerConfig
func (*BrokerConfig) BuildAmqpURL ¶
func (c *BrokerConfig) BuildAmqpURL()
Click to show internal directories.
Click to hide internal directories.