mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-11-12 21:44:22 +08:00
9a51a68206
* feat(domain): 支持通配符域名及关联功能适配 * fix(domain): preserve legacy Unicode imports and address review findings * fix(domain): canonicalize legacy IDNs and exclude empty host labels * fix(domain): normalize equivalent Unicode IDN spellings --------- Co-authored-by: Ryan <63696351+Rain-kl@users.noreply.github.com> Co-authored-by: ryan <ryan@arctel.net>
19 lines
794 B
Go
19 lines
794 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package zone
|
|
|
|
const (
|
|
errZoneDomainRequired = "domain name must not be empty"
|
|
errZoneRootInvalid = "zone must be a valid registered root domain"
|
|
errDomainInvalid = "invalid domain name format"
|
|
errDomainOutsideZone = "domain does not belong to this zone"
|
|
errZoneNotFound = "Zone was not found"
|
|
errDomainNotFound = "Domain was not found"
|
|
errDomainExists = "domain already exists"
|
|
errCertificateNotFound = "selected certificate was not found"
|
|
errDomainBoundToRoute = "domain is bound to a proxy route; remove the binding first"
|
|
errZoneHasDomains = "root domain still contains domains; delete them all first"
|
|
errStatsRangeInvalid = "invalid time range; select 24h, 7d or 30d"
|
|
)
|