Documentation ¶
Index ¶
- Constants
- func Check() error
- func Get(name string) string
- func GetClickhouseDsn() string
- func GetDebug() bool
- func GetGoogleOauthConfig() *oauth2.Config
- func GetGormClickhouseConfig() *gorm.Config
- func GetGormPostgresConfig() *gorm.Config
- func GetIsHosted() bool
- func GetPostgresDsn() string
- func GetRabbitMqUrl() string
- func GetWorkerCount() int
- func GetWorkerQueues() []string
Constants ¶
View Source
const ( ClickHouseDatabase = "CLICKHOUSE_DATABASE" ClickHouseHost = "CLICKHOUSE_HOST" ClickHousePassword = "CLICKHOUSE_PASSWORD" ClickHouseTcpPort = "CLICKHOUSE_TCP_PORT" ClickHouseUser = "CLICKHOUSE_USER" Debug = "DEBUG" FrontendBaseUrl = "FRONTEND_BASE_URL" GoogleClientId = "GOOGLE_CLIENT_ID" GoogleClientSecret = "GOOGLE_CLIENT_SECRET" Hosted = "HOSTED" Instance = "INSTANCE" MailBlusterApiKey = "MAIL_BLUSTER_API_KEY" PostgresDatabase = "POSTGRES_DATABASE" PostgresHost = "POSTGRES_HOST" PostgresPassword = "POSTGRES_PASSWORD" PostgresPort = "POSTGRES_PORT" PostgresUser = "POSTGRES_USER" RabbitMqHost = "RABBITMQ_HOST" RabbitMqPassword = "RABBITMQ_PASSWORD" RabbitMqPort = "RABBITMQ_PORT" RabbitMqUser = "RABBITMQ_USER" RabbitMqVhost = "RABBITMQ_VHOST" RedisHost = "REDIS_HOST" RedisPassword = "REDIS_PASSWORD" RedisPort = "REDIS_PORT" RestApiBaseUrl = "REST_API_BASE_URL" SentryDsn = "SENTRY_DSN" SentryEnvironment = "SENTRY_ENVIRONMENT" SmtpFrom = "SMTP_FROM" SmtpHost = "SMTP_HOST" SmtpPassword = "SMTP_PASSWORD" SmtpPort = "SMTP_PORT" SmtpUser = "SMTP_USER" StripeSecretKey = "STRIPE_SECRET_KEY" StripeWebhookSigningSecret = "STRIPE_WEBHOOK_SIGNING_SECRET" WebhookUrl = "WEBHOOK_URL" WorkerCount = "WORKER_COUNT" WorkerQueues = "WORKER_QUEUES" )
Variables ¶
This section is empty.
Functions ¶
func GetClickhouseDsn ¶
func GetClickhouseDsn() string
func GetGoogleOauthConfig ¶
func GetGormClickhouseConfig ¶
func GetGormPostgresConfig ¶
func GetIsHosted ¶
func GetIsHosted() bool
func GetPostgresDsn ¶
func GetPostgresDsn() string
func GetRabbitMqUrl ¶
func GetRabbitMqUrl() string
func GetWorkerCount ¶
func GetWorkerCount() int
func GetWorkerQueues ¶
func GetWorkerQueues() []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.