Routing service (#36)

This commit is contained in:
ben-toogood
2021-01-08 16:20:28 +00:00
committed by GitHub
parent 39e0f94152
commit f8eb3bfd9b
10 changed files with 836 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
syntax = "proto3";
package routing;
import "google/protobuf/wrappers.proto";
service Routing {
rpc Route(RouteRequest) returns (RouteResponse) {}
}
message Point {
google.protobuf.DoubleValue latitude = 1;
google.protobuf.DoubleValue longitude = 2;
}
message RouteRequest {
Point origin = 1;
Point destination = 2;
}
message RouteResponse {
repeated Point waypoints = 1;
}