type Config struct { API api.Config `json:"api"` Log log.Config `json:"log"` Queue queue.Config `json:"queue"` SMTP smtp.Config `json:"smtp"` }
Global configuration for the application.
func Parse() (*Config, error)
Parse the flags passed to the application
func (c *Config) Save(path string) error
Save the configuration to the specified path.