simple background jobs for Go
go get github.com/Afrawles/miniQq store, _ := miniqq.NewRedisStore(ctx, "localhost:6379")
registry := miniqq.NewRegistry()
registry.Register("send_email", handleEmail)
miniqq.RunPool(ctx, store, registry, []string{"send_email"}, 4)NewRedisStore(ctx, addr),NewMemoryStore()— create a StoreNewRegistry()— create a handler RegistryRunPool(ctx, store, registry, queues, concurrency)— run a worker poolRun(ctx, store, registry, queues)— run a single workerJob,JobState,Store,Handler,Registry,ErrJobNotFound
still under development