DataBaseType enum for somehow handling the possiblly valid database metadata types.

Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
This commit is contained in:
Adam Rocska 2020-05-30 13:27:36 +02:00
parent f4f5352c61
commit 5da03ef59d
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import Foundation
enum DatabaseType: String {
case city = "City"
case country = "Country"
case anonymousIp = "GeoIP2-Anonymous-IP"
case asn = "GeoLite2-ASN"
case connectionType = "GeoIP2-Connection-Type"
case domain = "GeoIP2-Domain"
case enterprise = "Enterprise"
case isp = "GeoIP2-ISP"
}