Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { // cache CacheLocation string `env:"CACHE_LOCATION"` Port string `env:"API_PORT"` IsDebug bool `env:"IS_DEBUG"` EmailDomain string `env:"EMAIL_DOMAIN"` ApiKey string `env:"API_KEY"` // // default database DatabaseName string `env:"DATABASE_NAME"` DatabasePassword string `env:"DATABASE_PASSWORD"` DatabaseUser string `env:"DATABASE_USER"` DatabaseHost string `env:"DATABASE_HOST"` DatabasePort string `env:"DATABASE_PORT"` IsSentryActivated bool `env:"ACTIVATE_SENTRY"` SentryKey string `env:"SENTRY_KEY"` SentryUrl string `env:"SENTRY_URL"` SentryEnvironment string `env:"SENTRY_ENVIRONMENT"` }
func GetInstance ¶
func GetInstance() *AppConfig
Click to show internal directories.
Click to hide internal directories.