Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LoggingEnabled = true
Functions ¶
Types ¶
type Cfg ¶
type Cfg struct {
JWTSecret string
DBType string
PostgresHost string
PostgresPort string
PostgresDatabase string
PostgresUsername string
PostgresPassword string
PostgresSSLMode string
SQLitePath string
DuckDBMemoryLimit string
DuckDBThreads string
DuckDBCheckpointThreshold string
ClickhouseServer string
ClickhouseDatabase string
ClickhouseUsername string
ClickhousePassword string
ClickhouseTLS string
StorageType string
StoragePath string
S3Bucket string
S3Region string
S3AccessKey string
S3SecretKey string
S3Endpoint string
SQLiteRetentionDays string
DuckDBRetentionDays string
LogRecordsMaxRows string
SessionRecordingRetentionDays string
SessionRecordingUploadWorkers string
SessionRecordingUploadQueueSize string
ProfileArchiveRaw string
ProfileRetentionDays string
SourceMapCacheMaxEntries string
SourceMapCacheMaxBytesMB string
SourceMapCacheType string
SourceMapDiskCachePath string
SourceMapDiskCacheMaxMB string
SymbolicatorParser string
NotificationPollSeconds string
OncallPollSeconds string
OutboxPollSeconds string
SyntheticsPollSeconds string
SyntheticsBrowserMode string
SyntheticsHTTPConcurrency string
SyntheticsBrowserConcurrency string
SyntheticsAllowPrivateTargets string
SyntheticsPlaywrightDir string
SyntheticsScreenshotRetentionDays string
SyntheticsRunnerSecret string
HealthDeepToken string
AllowPrivateNotificationTargets string
TwilioAccountSID string
TwilioAuthToken string
TwilioFromNumber string
TwilioMessagingServiceSID string
SMTPEnabled string
SMTPHost string
SMTPPort string
SMTPUsername string
SMTPPassword string
SMTPFrom string
AppBaseURL string
CloudMode string
MonitoringTracewayURL string
APIOnly string
Ports string
TurnstileSecretKey string
GoogleClientID string
GoogleClientSecret string
GitHubClientID string
GitHubClientSecret string
OAuthSessionSecret string
OIDCClientID string
OIDCClientSecret string
OIDCDiscoveryURL string
OIDCDisplayName string
OIDCAutoCreateUsers string
OIDCOrgClaim string
OIDCExtraScopes string
OIDCRoleClaim string
OIDCRoleMap string
OIDCAuthURL string
OIDCTokenURL string
OIDCUserInfoURL string
DisablePasswordLogin string
}
var Config *Cfg
func LoadFromEnv ¶
func LoadFromEnv() *Cfg
func (*Cfg) TwilioEnabled ¶ added in v1.9.10
TwilioEnabled reports whether SMS sending is configured: account credentials plus at least one sender (a from-number or a messaging service).
Click to show internal directories.
Click to hide internal directories.