mirror of
https://github.com/PrivateCaptcha/PrivateCaptcha.git
synced 2026-02-12 08:50:28 -06:00
51 lines
872 B
Go
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
|
|
)
|