package
0.1.3
Repository: https://github.com/dmitrymomot/go-pkg.git
Documentation: pkg.go.dev

# README

worker

Helpers for running background tasks.

# Functions

NewClient creates a new asynq client from the given redis client instance.
NewEnqueuer creates a new email enqueuer.
NewQueueServer creates a new queue client and returns the server.
NewSchedulerServer creates a new scheduler client and returns the server.
WithMaxRetry configures the max retry.
WithPostEnqueueFunc sets the scheduler post enqueue function.
WithPreEnqueueFunc sets the scheduler pre enqueue function.
WithQueueConcurrency sets the queue concurrency.
WithQueueLogLevel sets the queue log level.
WithQueueName sets the queue name.
WithQueueNameEnq configures the queue name for enqueuing.
WithQueues sets the queues.
WithQueueShutdownTimeout sets the queue shutdown timeout.
WithSchedulerLocation sets the scheduler location.
WithSchedulerLogLevel sets the scheduler log level.
WithTaskDeadline configures the task deadline.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author