summaryrefslogtreecommitdiff
path: root/DomainDig/DomainOwnershipService.swift
diff options
context:
space:
mode:
Diffstat (limited to 'DomainDig/DomainOwnershipService.swift')
-rw-r--r--DomainDig/DomainOwnershipService.swift7
1 files changed, 7 insertions, 0 deletions
diff --git a/DomainDig/DomainOwnershipService.swift b/DomainDig/DomainOwnershipService.swift
new file mode 100644
index 0000000..2c7b738
--- /dev/null
+++ b/DomainDig/DomainOwnershipService.swift
@@ -0,0 +1,7 @@
+import Foundation
+
+enum DomainOwnershipService {
+ static func lookup(domain: String) async -> ServiceResult<DomainOwnership> {
+ await RDAPService.ownership(for: domain)
+ }
+}