mirror of
https://github.com/hibiken/asynq.git
synced 2025-04-23 01:00:17 +08:00
28 lines
390 B
Protocol Buffer
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;
|
|
}; |