Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New[J queue.Job](name string, conn ConnexionConfig, c ...ConfigFunc) queue.Queue[J]
Types ¶
type Config ¶
type Config = struct { Name string Redis ConnexionConfig Config QueueConfig }
type ConfigFunc ¶
type ConfigFunc = func(q *QueueConfig)
func WithPollDuration ¶
func WithPollDuration(duration time.Duration) ConfigFunc
func WithPrefetchLimit ¶
func WithPrefetchLimit(limit int64) ConfigFunc
func WithSerializer ¶ added in v0.0.2
func WithTimeout ¶
func WithTimeout(t time.Duration) ConfigFunc
type ConnexionConfig ¶
Click to show internal directories.
Click to hide internal directories.