Welcome to YTask’s documentation!¶
YTask is an asynchronous task queue for handling distributed jobs in
golang
golang异步任务/队列 框架
安装¶
# 安装核心代码
go get -u github.com/gojuukaze/YTask/v3
# 安装broker, backend
go get -u github.com/gojuukaze/YTask/drives/redis/v3
go get -u github.com/gojuukaze/YTask/drives/rabbitmq/v3
go get -u github.com/gojuukaze/YTask/drives/mongo2/v3
go get -u github.com/gojuukaze/YTask/drives/memcache/v3
特点¶
简单无侵入
方便扩展broker,backend
支持所有能被序列化为json的类型(如:int,float,数组,结构体,复杂的结构体嵌套等)
支持任务重试,延时任务