Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Database struct { Engine string `yaml:"engine" envconfig:"DB_ENGINE"` Host string `yaml:"host" envconfig:"DB_HOST"` Port string `yaml:"port" envconfig:"DB_PORT"` Name string `yaml:"name" envconfig:"DB_DATABASE"` Username string `yaml:"username" envconfig:"DB_USERNAME"` Password string `yaml:"password" envconfig:"DB_PASSWORD"` } `yaml:"Database"` }
Config represents an application configuration.
Click to show internal directories.
Click to hide internal directories.