Documentation ¶
Index ¶
- type Service
- func (s *Service) ArchiveTask(ctx context.Context, queueName string, taskId string) error
- func (s *Service) Clear(ctx context.Context, name string) ([]*asynq.TaskInfo, error)
- func (s *Service) DeleteTask(ctx context.Context, queueName string, taskId string) error
- func (s *Service) Enqueue(ctx context.Context, task *asynq.Task, opts ...asynq.Option) (*asynq.TaskInfo, error)
- func (s *Service) Get(ctx context.Context, name string) (*asynq.QueueInfo, error)
- func (s *Service) RunTask(ctx context.Context, queueName string, taskId string) error
- func (s *Service) StartServer(ctx context.Context, workPkg types.IWorker)
- func (s *Service) TogglePause(ctx context.Context, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.