asynq_client

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAsyncMonHandler

func NewAsyncMonHandler(redisClientOpt asynq.RedisClientOpt) *asynqmon.HTTPHandler

func NewAsynqClient

func NewAsynqClient(redisClientOpt asynq.RedisClientOpt) *asynq.Client

func NewAsynqInspector

func NewAsynqInspector(redisClientOpt asynq.RedisClientOpt) *asynq.Inspector

func NewAsynqScheduler

func NewAsynqScheduler(redisClientOpt asynq.RedisClientOpt, logger *zap.Logger) (scheduler *asynq.Scheduler, err error)

func NewAsynqServer

func NewAsynqServer(redisClientOpt asynq.RedisClientOpt, logger *zap.Logger) *asynq.Server

func NewAsynqServerMux

func NewAsynqServerMux() (mux *asynq.ServeMux, err error)

func NewAsynqServerWithShutdownTimeout

func NewAsynqServerWithShutdownTimeout(redisClientOpt asynq.RedisClientOpt, logger *zap.Logger, shutdownTimeout time.Duration) *asynq.Server

NewAsynqServerWithShutdownTimeout is for services with long-running tasks that need a longer drain window. Most services should use NewAsynqServer.

func NewZapAsynqLogger

func NewZapAsynqLogger(logger *zap.Logger) asynq.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL