Documentation ¶
Index ¶
Constants ¶
View Source
const ( // QueueCritical queue priority QueueCritical = "critical" QueueDefault = "default" QueueLow = "low" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server async server
func NewServer ¶
func NewServer(redisOpt asynq.RedisClientOpt, asyncCfg asynq.Config) *Server
NewServer new async server
func (*Server) RegisterHandler ¶
RegisterHandler register handler
Click to show internal directories.
Click to hide internal directories.