Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Env string `mapstructure:"ENV"` DatabaseURL string `mapstructure:"DATABASE_URL"` GoogleClientID string `mapstructure:"GOOGLE_CLIENT_ID"` GoogleClientSecret string `mapstructure:"GOOGLE_CLIENT_SECRET"` GoogleCallbackURL string `mapstructure:"GOOGLE_CALLBACK_URL"` GoogleIssuer string `mapstructure:"GOOGLE_ISSUER"` DOMAIN string `mapstructure:"DOMAIN"` PORT string `mapstructure:"PORT"` AWS_REGION string `mapstructure:"AWS_REGION"` AWS_ACCESS_KEY_ID string `mapstructure:"AWS_ACCESS_KEY_ID"` AWS_SECRET_ACCESS_KEY string `mapstructure:"AWS_SECRET_ACCESS_KEY"` AWS_S3_ENDPOINT string `mapstructure:"AWS_S3_ENDPOINT"` AWS_S3_BUCKET string `mapstructure:"AWS_S3_BUCKET"` IMAGE_DOMAIN string `mapstructure:"IMAGE_DOMAIN"` ANALYSIS_USER string `mapstructure:"ANALYSIS_USER"` ANALYSIS_USER_PASSWORD string `mapstructure:"ANALYSIS_USER_PASSWORD"` ANALYSIS_API_DOMAIN string `mapstructure:"ANALYSIS_API_DOMAIN"` SENTRY_DSN string `mapstructure:"SENTRY_DSN"` }
func LoadConfig ¶
func LoadConfig() *Config
Click to show internal directories.
Click to hide internal directories.