Registry / messaging / hibiken-asynq

hibiken-asynq

JSON →
library0.25.0gogounverified

A Go framework for distributed task queues using Redis as a message broker, providing client and server components for task enqueuing and processing.

go get github.com/hibiken/asynq
INSTALL
IMPORT
SIG · HIBIKEN-ASYNQ
H
hibiken-asynq
messaginggov0.25.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

asynq
github.com/hibiken/asynq

Enqueues a task to the Asynq queue using a Redis connection.

package main import ( "log" "github.com/hibiken/asynq" ) func main() { client := asynq.NewClient(asynq.RedisClientOpt{Addr: "localhost:6379"}) defer client.Close() task := asynq.NewTask("email:welcome", []byte("{\"user_id\": 42}")) info, err := client.Enqueue(task) if err != nil { log.Fatal(err) } log.Printf("enqueued task: id=%s queue=%s", info.ID, info.Queue) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.25.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
hibiken-asynq — go get hibiken-asynq · libregistry