Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Name string `env-required:"true" yaml:"name" env:"APP_NAME"` Version string `env-required:"true" yaml:"version" env:"APP_VERSION"` Debug bool `env-required:"true" yaml:"debug" env:"APP_DEBUG"` Email string `env-required:"true" yaml:"email" env:"APP_EMAIL"` Password string `env-required:"true" yaml:"password" env:"APP_PASSWORD"` }
App -.
type Config ¶
type Config struct { App `yaml:"app"` HTTP `yaml:"http"` Log `yaml:"logger"` DB `yaml:"db"` Redis `yaml:"redis"` }
Config -.
type DB ¶
type DB struct {
DataDir string `env-required:"true" yaml:"dataDir" env:"DB_DATA_DIR"`
}
DB -.
type HTTP ¶
type HTTP struct {
Port string `env-required:"true" yaml:"port" env:"HTTP_PORT"`
}
HTTP -.
Click to show internal directories.
Click to hide internal directories.