From b29e42a509f12a56964249e974b1f049e56fef63 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 2 Jun 2021 16:31:08 +0100 Subject: [PATCH] comment ip proto --- ip/proto/ip.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ip/proto/ip.proto b/ip/proto/ip.proto index 6b700cc..e2d323b 100644 --- a/ip/proto/ip.proto +++ b/ip/proto/ip.proto @@ -10,16 +10,24 @@ service Ip { // Lookup the geolocation information for an IP address message LookupRequest { + // IP to lookup. If not specified we assume the caller. string ip = 1; } message LookupResponse { + // IP of the query string ip = 1; + // Autonomous system number int64 asn = 2; + // Name of the city string city = 3; + // Name of the country string country = 4; + // Latitude e.g 52.523219 double latitude = 5; + // Longitude e.g 13.428555 double longitude = 6; + // Timezone e.g Europe/Rome string timezone = 7; }