overpush/proto/response.proto

20 lines
327 B
Protocol Buffer
Raw Permalink Normal View History

2023-05-25 06:57:56 +00:00
syntax = 'proto3';
package overpush;
option go_package = '.;pb';
2023-06-08 20:43:48 +00:00
enum Status {
StatusInvalid = 0;
StatusSent = 1;
StatusQueued = 2;
StatusFailed = 3;
2023-05-25 06:57:56 +00:00
}
message Response {
2023-06-08 20:43:48 +00:00
int64 timestamp = 1;
2023-05-25 06:57:56 +00:00
string id = 2;
2023-06-08 20:43:48 +00:00
Status status = 3;
2023-05-25 06:57:56 +00:00
repeated string errors = 4;
// optional string receipt = 5;
2023-06-08 20:43:48 +00:00
}