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