Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Rabbit *RabbitConfig `json:"rabbit,omitempty"` Database *DatabaseConfig `json:"database,omitempty"` Consul *ConsulConfig `json:"consul,omitempty"` }
func LoadConfig ¶
type ConsulConfig ¶
type DatabaseConfig ¶
type DatabaseConfig struct {
Url string `json:"url" flag:"data_source|| Data source"`
}
type RabbitConfig ¶
type RabbitConfig struct {
Url string `json:"url" flag:"amqp|| AMQP connection"`
}
Click to show internal directories.
Click to hide internal directories.