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.
21 lines
390 B
21 lines
390 B
2 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package api.mapService;
|
||
|
|
||
|
option go_package = "map/api/mapService;mapService";
|
||
|
|
||
|
service MapService {
|
||
|
rpc GetDrivingInfo (GetDrivingInfoReq) returns (GetDrivingInfoReply);
|
||
|
}
|
||
|
|
||
|
message GetDrivingInfoReq {
|
||
|
string origin = 1;
|
||
|
string destination = 2;
|
||
|
}
|
||
|
|
||
|
message GetDrivingInfoReply {
|
||
|
string origin = 1;
|
||
|
string destination = 2;
|
||
|
string distance = 3;
|
||
|
string duration = 4;
|
||
|
}
|