Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var C = Config{}
Functions ¶
func ParseConfig ¶
func ParseConfig(filePath string)
Types ¶
type Config ¶
type Config struct { ENV string `toml:"ENV" yaml:"env"` Debug bool `toml:"Debug" yaml:"debug"` LogLevel string `toml:"LogLevel" yaml:"log_level"` HTTPClient httpclient.Config `toml:"HTTPClient" yaml:"http_client"` Database db.Config `toml:"Database" yaml:"database"` Vaccine vaccine.Config `toml:"Vaccine" yaml:"vaccine"` }
Click to show internal directories.
Click to hide internal directories.