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
382 B
21 lines
382 B
syntax = "proto3";
|
|
|
|
package api.mapService;
|
|
|
|
option go_package = "map/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;
|
|
} |