Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
HandlerFunc ...
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue holds Asynq server things
func CreateServer ¶
CreateServer creates a new Asynq server
func (*Queue) AddHandler ¶
AddHandler adds a handler to mux
func (*Queue) AddHandlerFunc ¶
func (q *Queue) AddHandlerFunc(pattern string, handler func(context.Context, *asynq.Task) error) *Queue
AddHandlerFunc adds a handler func to mux
func (*Queue) MountMonitor ¶
func (q *Queue) MountMonitor(redisAddress, redisPw string) (*Queue, *asynqmon.HTTPHandler)
MountMonitor mounts asynqmon
Click to show internal directories.
Click to hide internal directories.