You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
387 B
20 lines
387 B
2 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package api.mapService;
|
||
|
|
||
|
option go_package = "valuation/api/mapService;mapService";
|
||
|
|
||
|
service MapService {
|
||
|
rpc GetDrivingInfo (GetDrivingInfoReq) returns (GetDrivingReply);
|
||
|
}
|
||
|
|
||
|
message GetDrivingInfoReq {
|
||
|
string origin = 1;
|
||
|
string destination = 2;
|
||
|
}
|
||
|
message GetDrivingReply {
|
||
|
string origin = 1;
|
||
|
string destination = 2;
|
||
|
string distance = 3;
|
||
|
string duration = 4;
|
||
|
}
|