19 lines
610 B
Protocol Buffer
19 lines
610 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package gitpb;
|
||
|
|
||
|
// import "google/protobuf/duration.proto"; // Import the well-known type for Timestamp
|
||
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
||
|
|
||
|
message Package {
|
||
|
string name = 1;
|
||
|
string version = 2;
|
||
|
google.protobuf.Timestamp laststamp = 4; // the last time we heard anything from this droplet
|
||
|
}
|
||
|
|
||
|
message Packages {
|
||
|
string uuid = 1; // I guess why not just have this on each file
|
||
|
string version = 2; // maybe can be used for protobuf schema change violations
|
||
|
repeated Package packages = 3;
|
||
|
}
|