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:
parent
f4f5352c61
commit
5da03ef59d
|
@ -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"
|
||||||
|
}
|
Loading…
Reference in New Issue