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"` ApiKey string `env-required:"true" yaml:"api_key" env:"APP_API_KEY"` }
App -.
type Config ¶
type Config struct { App `yaml:"app"` HTTP `yaml:"http"` Log `yaml:"logger"` Admin `yaml:"admin"` Schedule `yaml:"schedule"` TheHillAdminProject `yaml:"the_hill_admin"` TheHillCustomerProject `yaml:"the_hill_customer"` TheHillStoreProject `yaml:"the_hill_store"` }
Config -.
type HTTP ¶
type HTTP struct {
Port string `env-required:"true" yaml:"port" env:"HTTP_PORT"`
}
HTTP -.
type Log ¶
type Log struct {
Level string `env-required:"true" yaml:"log_level" env:"LOG_LEVEL"`
}
Log -.
type TheHillAdminProject ¶
type TheHillAdminProject struct {
Name string `env-required:"true" yaml:"name" env:"THE_HILL_ADMIN_NAME"`
}
type TheHillCustomerProject ¶
type TheHillCustomerProject struct {
Name string `env-required:"true" yaml:"name" env:"THE_HILL_CUSTOMER_NAME"`
}
type TheHillStoreProject ¶
type TheHillStoreProject struct {
Name string `env-required:"true" yaml:"name" env:"THE_HILL_STORE_NAME"`
}
Click to show internal directories.
Click to hide internal directories.