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
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
SessionRecordingRetentionDays string
SessionRecordingUploadWorkers string
SessionRecordingUploadQueueSize 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
Click to show internal directories.
Click to hide internal directories.