22 lines
499 B
Protocol Buffer
22 lines
499 B
Protocol Buffer
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;
|
|
}
|