Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvOrDefault ¶ added in v0.1.18
GetEnvOrDefault is an exported helper for other packages that need simple environment access while still being easy to mock in tests.
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
// Data Path
DATA_PATH string
}
func ReadConfig ¶
func ReadConfig() *Config
func (*Config) GetAgentDataPath ¶ added in v0.1.20
GetAgentDataPath returns the path where agent data is stored.
func (*Config) GetSessionDataPath ¶ added in v0.1.20
GetSessionDataPath returns the path to use for sandbox session data
Click to show internal directories.
Click to hide internal directories.