github.com/aaabigfish/gopkg@v1.1.0/mq/asynq/comm.go (about) 1 package asynq 2 3 import ( 4 "context" 5 6 "github.com/hibiken/asynq" 7 ) 8 9 type Message = asynq.Task 10 11 type RedisClientOpt = asynq.RedisClientOpt 12 13 type HandlerFunc func(context.Context, *Message) error 14 15 type Handler map[string]HandlerFunc