Documentation ¶
Index ¶
- type Backend
- func (b *Backend) ArchivedTasks(_ context.Context, queueID string) ([]async.TaskRef, error)
- func (b *Backend) CancelTask(_ context.Context, queueID string, refID string) error
- func (b *Backend) CheckTask(_ context.Context, queueID string, refID string) (async.Status, error)
- func (b *Backend) CompletedTasks(_ context.Context, queueID string) ([]async.TaskRef, error)
- func (b *Backend) CreateQueue(_ context.Context, name string) error
- func (b *Backend) EnqueueTask(_ context.Context, e async.TaskEnvelope) error
- func (b *Backend) ListQueues(_ context.Context) ([]string, error)
- func (b *Backend) PendingTasks(_ context.Context, queueID string) ([]async.TaskRef, error)
- func (b *Backend) SubscribeQueue(_ context.Context, queueID string) (<-chan async.TaskEnvelope, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func (*Backend) ArchivedTasks ¶
func (*Backend) CancelTask ¶
func (*Backend) CompletedTasks ¶
func (*Backend) EnqueueTask ¶
func (*Backend) PendingTasks ¶
func (*Backend) SubscribeQueue ¶
Click to show internal directories.
Click to hide internal directories.