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:"false" yaml:"name" env:"APP_NAME"` Repo string `env-required:"false" yaml:"repo" env:"APP_REPO"` Version string `env-required:"false"` }
App -.
type DB ¶
type DB struct { PoolMax int `env-required:"false" yaml:"pool_max" env:"DB_POOL_MAX"` URL string `env:"DB_URL"` }
DB -.
type HTTP ¶
type HTTP struct { Host string `env-required:"false" yaml:"host" env:"HTTP_HOST"` Port string `env-required:"false" yaml:"port" env:"HTTP_PORT"` AllowedOrigins []string `env-required:"false" yaml:"allowed_origins" env:"HTTP_ALLOWED_ORIGINS"` AllowedHeaders []string `env-required:"false" yaml:"allowed_headers" env:"HTTP_ALLOWED_HEADERS"` }
HTTP -.
Click to show internal directories.
Click to hide internal directories.