20 lines
295 B
Protocol Buffer
20 lines
295 B
Protocol Buffer
syntax = "proto3";
|
|
package termix.track;
|
|
|
|
import "google/protobuf/empty.proto";
|
|
|
|
service TrackOp {
|
|
rpc Create(Track) returns (google.protobuf.Empty);
|
|
rpc List(google.protobuf.Empty) returns (Tracks);
|
|
}
|
|
|
|
message Track {
|
|
string name = 1;
|
|
}
|
|
|
|
message Tracks {
|
|
repeated Track tracks = 1;
|
|
}
|
|
|
|
|