env

package
v0.0.0-...-d39f515 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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 Check

func Check() error

func Get

func Get(name string) string

func GetClickhouseDsn

func GetClickhouseDsn() string

func GetDebug

func GetDebug() bool

func GetGoogleOauthConfig

func GetGoogleOauthConfig() *oauth2.Config

func GetGormClickhouseConfig

func GetGormClickhouseConfig() *gorm.Config

func GetGormPostgresConfig

func GetGormPostgresConfig() *gorm.Config

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL