Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvConfigPath represents the environment variable name which // should be read in case environment file needs to be read from some // user-defined location EnvConfigPath = "FIBER_PONGO2_PKGER_CONFIG_ENV_PATH" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Address to run the webserver on, defaults to :3030 Address string `envconfig:"ADDRESS" default:"0.0.0.0:3030"` // ProxyURL in case we need to support the application on a different prefix ProxyURL string `envconfig:"PROXY_URL" default:""` }
Config is the base struct which contains all the configuration for the application
Click to show internal directories.
Click to hide internal directories.