overpush/proto/response.proto

20 lines
327 B
Protocol Buffer

syntax = 'proto3';
package overpush;
option go_package = '.;pb';
enum Status {
StatusInvalid = 0;
StatusSent = 1;
StatusQueued = 2;
StatusFailed = 3;
}
message Response {
int64 timestamp = 1;
string id = 2;
Status status = 3;
repeated string errors = 4;
// optional string receipt = 5;
}