initial commit
This commit is contained in:
21
servers/grpc/proto/multimodal-routing.proto
Normal file
21
servers/grpc/proto/multimodal-routing.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "git.coopgo.io/coopgo-platform/multimodal-routing/servers/grpc/proto";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "geojson.proto";
|
||||
|
||||
service MultimodalRouting {
|
||||
rpc Search(SearchRequest) returns (SearchResponse) {}
|
||||
}
|
||||
|
||||
message SearchRequest {
|
||||
Feature departure = 1;
|
||||
Feature destination = 2;
|
||||
google.protobuf.Timestamp departure_date = 3;
|
||||
optional int64 time_delta = 4;
|
||||
}
|
||||
|
||||
message SearchResponse {
|
||||
repeated FeatureCollection results = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user