Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ENV ¶
type ENV struct { AppMode string `mapstructure:"APP_MODE"` AppPort string `mapstructure:"APP_PORT"` AppTLSPort string `mapstructure:"APP_TLS_PORT"` TLSCertFile string `mapstructure:"TLS_CERT_FILE"` TLSKeyFile string `mapstructure:"TLS_KEY_FILE"` CORSAllowedOrigins []string `mapstructure:"CORS_ALLOWED_ORIGINS"` AuthJWTSecretKey string `mapstructure:"AUTH_JWT_SECRET_KEY"` AuthCookieDomain string `mapstructure:"AUTH_COOKIE_DOMAIN"` DBUser string `mapstructure:"DB_USER"` DBPass string `mapstructure:"DB_PASS"` DBHost string `mapstructure:"DB_HOST"` DBPort string `mapstructure:"DB_PORT"` DBName string `mapstructure:"DB_NAME"` TLSEnabled bool IsDevelopment bool }
ENV definition
Click to show internal directories.
Click to hide internal directories.