add continent to ip service

This commit is contained in:
Asim Aslam
2021-06-03 09:26:50 +01:00
parent 127f7672e1
commit 4dee4ae77d
4 changed files with 51 additions and 27 deletions

View File

@@ -18,16 +18,18 @@ message LookupResponse {
// IP of the query
string ip = 1;
// Autonomous system number
int64 asn = 2;
int32 asn = 2;
// Name of the city
string city = 3;
// Name of the country
string country = 4;
// Name of the continent
string continent = 5;
// Latitude e.g 52.523219
double latitude = 5;
double latitude = 6;
// Longitude e.g 13.428555
double longitude = 6;
double longitude = 7;
// Timezone e.g Europe/Rome
string timezone = 7;
string timezone = 8;
}