mirror of
https://github.com/hibiken/asynq.git
synced 2025-08-19 15:08:55 +08:00
Add Inspector type
This commit is contained in:
@@ -133,6 +133,12 @@ func DecodeMessage(s string) (*TaskMessage, error) {
|
||||
return &msg, nil
|
||||
}
|
||||
|
||||
// Z represents sorted set member.
|
||||
type Z struct {
|
||||
Message *TaskMessage
|
||||
Score int64
|
||||
}
|
||||
|
||||
// ServerStatus represents status of a server.
|
||||
// ServerStatus methods are concurrency safe.
|
||||
type ServerStatus struct {
|
||||
|
Reference in New Issue
Block a user