Files
PrivateCaptcha/pkg/common/config.go
2026-01-06 15:46:24 +02:00

51 lines
872 B
Go

package common
type ConfigKey int
const (
StageKey ConfigKey = iota
VerboseKey
APIBaseURLKey
PortalBaseURLKey
CDNBaseURLKey
LocalAddressKey
RateLimitHeaderKey
MaintenanceModeKey
RegistrationAllowedKey
HealthCheckIntervalKey
AdminEmailKey
PostgresKey
PostgresHostKey
PostgresDBKey
PostgresUserKey
PostgresPasswordKey
PostgresAdminKey
PostgresAdminPasswordKey
ClickHouseHostKey
ClickHouseDBKey
ClickHouseUserKey
ClickHousePasswordKey
ClickHouseAdminKey
ClickHouseAdminPasswordKey
RateLimitRateKey
RateLimitBurstKey
SmtpEndpointKey
SmtpUsernameKey
SmtpPasswordKey
EmailFromKey
ReplyToEmailKey
HostKey
PortKey
UserFingerprintIVKey
APISaltKey
EnterpriseLicenseKeyKey
LocalAPIKeyKey
XSRFKeyKey
IDHasherSaltKey
CountryCodeHeaderKey
EnterpriseAuditLogDaysKey
ClickHouseOptionalKey
// Add new fields _above_
COMMON_CONFIG_KEYS_COUNT
)