Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresDatabase ¶
Types ¶
type Application ¶
func App ¶
func App() Application
type Env ¶
type Env struct { AppEnv string `mapstructure:"APP_ENV"` DBHost string `mapstructure:"DB_HOST"` DBPort string `mapstructure:"DB_PORT"` DBUser string `mapstructure:"DB_USER"` DBPass string `mapstructure:"DB_PASS"` DBName string `mapstructure:"DB_NAME"` ResultDBName string `mapstructure:"RESULT_DB_NAME"` AccessJWTSecret string `mapstructure:"ACCESS_JWT_SECRET"` RefreshJWTSecret string `mapstructure:"REFRESH_JWT_SECRET"` AccessJWTExpiryHour int `mapstructure:"ACCESS_JWT_EXPIRY_HOUR"` RefreshJWTExpiryHour int `mapstructure:"REFRESH_JWT_EXPIRY_HOUR"` EmailServiceHost string `mapstructure:"EMAIL_SERVICE_HOST"` EmailServicePort int `mapstructure:"EMAIL_SERVICE_PORT"` EmailServiceAddress string `mapstructure:"EMAIL_SERVICE_ADDRESS"` EmailServiceSecret string `mapstructure:"EMAIL_SERVICE_SECRET"` SupersetURL string `mapstructure:"SUPERSET_URL"` OAuthClientID string `mapstructure:"OAUTH_CLIENT_ID"` OAuthClientSecret string `mapstructure:"OAUTH_CLIENT_SECRET"` OAuthClientDomain string `mapstructure:"OAUTH_CLIENT_DOMAIN"` }
Click to show internal directories.
Click to hide internal directories.