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.
machinery
✓ github.com/RichardKnop/machinery
Set up a task queue server
package main
import (
"github.com/RichardKnop/machinery/v1"
"github.com/RichardKnop/machinery/v1/config"
)
func main() {
cnf := &config.Config{
Broker: "redis://localhost:6379",
ResultBackend: "redis://localhost:6379",
}
server, _ := machinery.NewServer(cnf)
server.RegisterTask("add", func(a, b int) int { return a + b })
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2.0.4+incompatiblelatest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.