Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DB_USERNAME string
DB_PASSWORD string
DB_HOST string
DB_PORT string
DB_NAME string
DISABLE_TLS string
REDIS_HOST string
REDIS_PORT string
REDIS_USERNAME string
REDIS_PASSWORD string
// ClickHouse configuration for traces
CLICKHOUSE_HOST string
CLICKHOUSE_PORT int
CLICKHOUSE_DATABASE string
CLICKHOUSE_USERNAME string
CLICKHOUSE_PASSWORD string
CLICKHOUSE_USE_TLS bool
// Otel
OTEL_EXPORTER_OTLP_ENDPOINT string
// Auth
JWT_SECRET string
STATE_SECRET string
AUTH0_DOMAIN string
AUTH0_CLIENT_ID string
AUTH0_CLIENT_SECRET string
AUTH0_CALLBACK_URL string
// Restate
RESTATE_WORKER_HOST_PORT string
RESTATE_SERVER_ENDPOINT string
// Temporal
TEMPORAL_SERVER_HOST_PORT string
// Runtime
RUNTIME_ENABLED string
}
func ReadConfig ¶
func ReadConfig() *Config
Click to show internal directories.
Click to hide internal directories.