diff options
| author | Bobby <[email protected]> | 2026-03-08 23:39:34 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-03-08 23:39:34 +0530 |
| commit | 3138840a8c3d16219f1bc6ba9f5232141a206892 (patch) | |
| tree | db1092ab7e27a5c7e6b341a5baf5225412fa9175 /services | |
| parent | 94d5561e7cc39eb2909bdc36d4ef4972cd21e56d (diff) | |
| download | dove-main.tar.xz dove-main.zip | |
Diffstat (limited to 'services')
| -rw-r--r-- | services/dashboard/overview.go | 18 | ||||
| -rw-r--r-- | services/domain/domain.go | 2 | ||||
| -rw-r--r-- | services/domain/messages.go | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/services/dashboard/overview.go b/services/dashboard/overview.go index e073bf8..5aa4b72 100644 --- a/services/dashboard/overview.go +++ b/services/dashboard/overview.go @@ -107,16 +107,16 @@ type DnsCard struct { } type OverviewResponse struct { - BindAddress string `json:"bind_address"` - DnsAddress string `json:"dns_address"` - Services []ServiceStatus `json:"services"` - Email EmailCard `json:"email"` - Domains DomainsCard `json:"domains"` - ReverseProxy ReverseProxyCard `json:"reverse_proxy"` + BindAddress string `json:"bind_address"` + DnsAddress string `json:"dns_address"` + Services []ServiceStatus `json:"services"` + Email EmailCard `json:"email"` + Domains DomainsCard `json:"domains"` + ReverseProxy ReverseProxyCard `json:"reverse_proxy"` Storage ObjectStorageCard `json:"storage"` - CronJobs CronJobsCard `json:"cron_jobs"` - Dove DoveCard `json:"dove"` - Dns DnsCard `json:"dns"` + CronJobs CronJobsCard `json:"cron_jobs"` + Dove DoveCard `json:"dove"` + Dns DnsCard `json:"dns"` } func Overview() OverviewResponse { diff --git a/services/domain/domain.go b/services/domain/domain.go index 91ca1e9..4047ec0 100644 --- a/services/domain/domain.go +++ b/services/domain/domain.go @@ -162,4 +162,4 @@ func deleteAllDNSRecords(domainID uint) { dnsRepo.DeleteMXRecordsByDomainID(domainID) dnsRepo.DeleteTXTRecordsByDomainID(domainID) dnsRepo.DeleteSRVRecordsByDomainID(domainID) -}
\ No newline at end of file +} diff --git a/services/domain/messages.go b/services/domain/messages.go index e8b0ae3..c279511 100644 --- a/services/domain/messages.go +++ b/services/domain/messages.go @@ -7,8 +7,8 @@ const ( DomainHasMailboxes = "Cannot delete a domain that has mailboxes. Remove all mailboxes first." DomainNameInvalid = "Domain name must contain only lowercase letters, numbers, and hyphens." DomainNameRequired = "Domain name is required." - DomainNotFound = "Domain not found." - DomainTLDRequired = "A TLD must be selected for the domain." + DomainNotFound = "Domain not found." + DomainTLDRequired = "A TLD must be selected for the domain." TLDAlreadyExists = "A TLD with this name already exists." TLDCreationFailed = "Failed to create TLD." TLDDeletionFailed = "Failed to delete TLD." |
