Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Database struct { Driver string `yaml:"driver" envconfig:"db_driver"` DSN string `yaml:"dsn" envconfig:"db_dsn"` } `yaml:"database"` Tls struct { CertFile string `yaml:"certfile" envconfig:"tls_certfile"` KeyFile string `yaml:"keyfile" envconfig:"tls_keyfile"` } Build struct { BasePath string `yaml:"basepath" envconfig:"basepath"` } }
AppConfig contains the configuration, taken from a YAML configuration file
Click to show internal directories.
Click to hide internal directories.