gocelery:celery 分布式任务引擎的 Go 实现

时间:2021-06-15 08:47:23
【文件属性】:
文件名称:gocelery:celery 分布式任务引擎的 Go 实现
文件大小:236KB
文件格式:ZIP
更新时间:2021-06-15 08:47:23
Go 芹菜 分布式任务引擎的 golang 端口。 支持执行和提交任务,可以与celery引擎或celery python客户端互操作。 特征 任务队列 任务事件报告 支持的经纪商 兔MQ Redis 纳茨 安装 go get http://github.com/taoh/gocelery 例子 package main import ( "math/rand" "time" log "github.com/Sirupsen/logrus" "github.com/taoh/gocelery" ) // Adder worker type Adder struct {} // Execute an addition func ( a * Adder ) Execute ( task * gocelery. Task ) ( result interface {}, err err

网友评论