Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
AppName string `env:"APP_NAME,required"`
TeamName string `env:"TEAM_NAME,required"`
Environment string `env:"APP_ENV,required"`
BuildDate time.Time `env:"BUILD_DATE"`
BuildGitHash string `env:"BUILD_GIT_HASH,required"`
BuildGitTag string `env:"BUILD_GIT_TAG,required"`
NewRelicLicense string `env:"NEW_RELIC_LICENSE,required"`
}
Config represents the common environment variables needed for all apps.
Click to show internal directories.
Click to hide internal directories.