14 lines
210 B
Protocol Buffer
14 lines
210 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
service RouteApproaches {
|
|
rpc GetApproach(ApproachID) returns (Approach) {}
|
|
}
|
|
|
|
message ApproachID {
|
|
int32 approachID = 1;
|
|
}
|
|
|
|
message Approach {
|
|
int32 reps = 1;
|
|
double weight = 2;
|
|
}
|