2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-23 01:00:17 +08:00
asynq/internal/proto/asynq.proto
2021-03-10 20:43:42 -08:00

28 lines
390 B
Protocol Buffer

syntax = "proto3";
package tutorial;
//import "google/protobuf/timestamp.proto";
option go_package = "github.com/hibiken/asynq/internal/proto";
message TaskMessage {
string type = 1;
bytes payload = 2;
string id = 3;
string queue = 4;
int32 retry = 5;
int32 retried = 6;
string error_msg = 7;
int64 timeout = 8;
int64 deadline = 9;
string unique_key = 10;
};