Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { App *AppConfig `yaml:"app" validate:"required"` DB *libconfig.DBConfig `yaml:"db" validate:"required"` // Auth *AuthConfig `yaml:"auth" validate:"required"` Trace *libconfig.TraceConfig `yaml:"trace" validate:"required"` CORS *libconfig.CORSConfig `yaml:"cors" validate:"required"` Shutdown *ShutdownConfig `yaml:"shutdown" validate:"required"` Log *libconfig.LogConfig `yaml:"log" validate:"required"` Swagger *libconfig.SwaggerConfig `yaml:"swagger" validate:"required"` Debug *DebugConfig `yaml:"debug"` }
func LoadConfig ¶
type DebugConfig ¶
type ShutdownConfig ¶
Click to show internal directories.
Click to hide internal directories.